X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=upgrade%2Fnewdirectory-0.0.1%2F14_watchnames.sql;h=db8c66782343391afda94d70f86d2656ff820c6b;hb=ce7742561dd5125391229cf288864a34dd18849c;hp=04b34831c5c39958444e9b4d08db0a9c30c0c53b;hpb=0073747ac81cc9cff9e43847eb008f0e815255f0;p=platal.git diff --git a/upgrade/newdirectory-0.0.1/14_watchnames.sql b/upgrade/newdirectory-0.0.1/14_watchnames.sql index 04b3483..db8c667 100644 --- a/upgrade/newdirectory-0.0.1/14_watchnames.sql +++ b/upgrade/newdirectory-0.0.1/14_watchnames.sql @@ -1,13 +1,13 @@ -ALTER TABLE watch_profile MODIFY field enum('search_names', 'nom', 'freetext', 'mobile', 'nationalite', - 'nationalite2', 'nationalite3', 'nick', 'web', 'networking', - 'edus', 'addresses', 'section', 'binets', 'medals', 'cv', - 'jobs', 'photo', 'corps'); +ALTER TABLE watch_profile + MODIFY field ENUM('search_names', 'nom', 'freetext', 'mobile', 'nationality1', 'nationality2', 'nationality3', + 'nick', 'networking', 'edus', 'addresses', 'section', 'binets', 'medals', + 'cv', 'jobs', 'photo', 'corps'); UPDATE watch_profile SET field = 'search_names' WHERE field = 'nom' OR field = 'nick'; -ALTER TABLE watch_profile MODIFY field enum('search_names', 'freetext', 'mobile', 'nationalite', - 'nationalite2', 'nationalite3', 'web', 'networking','edus', - 'addresses', 'section', 'binets', 'medals', 'cv', 'jobs', - 'photo', 'corps'); +ALTER TABLE watch_profile + MODIFY field ENUM('search_names', 'freetext', 'mobile', 'nationality1', 'nationality2', 'nationality3', + 'nick', 'networking', 'edus', 'addresses', 'section', 'binets', 'medals', + 'cv', 'jobs', 'photo', 'corps'); # vim:set syntax=mysql: