X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=upgrade%2Fnewdirectory-0.0.1%2F14_watchnames.sql;h=db8c66782343391afda94d70f86d2656ff820c6b;hb=5f2f6b6d2faaf8572f8164aec3c6be6216a7dc07;hp=8baebdaa825b11f07f0ba814466ace8463f8f9c1;hpb=4a55e7da9dd68b35034d207a25d8ffb292f30403;p=platal.git diff --git a/upgrade/newdirectory-0.0.1/14_watchnames.sql b/upgrade/newdirectory-0.0.1/14_watchnames.sql index 8baebda..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'); +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'); +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: