X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=upgrade%2Fnewdirectory-0.0.1%2F06_education.sql;h=ef9ecfce788f66f63f24389a21b61f8848cd6c6b;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=dc55947813bafe6d556937f9f440fd47960765aa;hpb=ce0b2c6f3fc4e7c524df32f56f1bc8e8d573bb1a;p=platal.git diff --git a/upgrade/newdirectory-0.0.1/06_education.sql b/upgrade/newdirectory-0.0.1/06_education.sql index dc55947..ef9ecfc 100644 --- a/upgrade/newdirectory-0.0.1/06_education.sql +++ b/upgrade/newdirectory-0.0.1/06_education.sql @@ -85,19 +85,20 @@ INSERT IGNORE INTO watch_profile (uid, ts, field) FROM watch_profile WHERE field = 'appli2'; -ALTER TABLE watch_profile MODIFY field enum('nom', 'freetext', 'mobile', 'nationalite', 'nationalite2', - 'nationalite3', 'nick', 'web', 'networking', 'appli1', 'appli2', - 'edus', 'addresses', 'section', 'binets', 'medals', 'cv', 'jobs', - 'photo'); +ALTER TABLE watch_profile + MODIFY field ENUM('nom', 'freetext', 'mobile', 'nationality1', 'nationality2', 'nationality3', + 'nick', 'networking', 'appli1', 'appli2', 'edus', 'addresses', 'section', + 'binets', 'medals', 'cv', 'jobs', 'photo'); UPDATE watch_profile SET field = 'edus' WHERE field = 'appli1'; DELETE FROM watch_profile WHERE field = 'appli2'; -ALTER TABLE watch_profile MODIFY field enum('nom', 'freetext', 'mobile', 'nationalite', 'nationalite2', - 'nationalite3', 'nick', 'web', 'networking', 'edus', 'addresses', - 'section', 'binets', 'medals', 'cv', 'jobs', 'photo'); +ALTER TABLE watch_profile + MODIFY field ENUM('nom', 'freetext', 'mobile', 'nationality1', 'nationality2', 'nationality3', + 'nick', 'networking', 'edus', 'addresses', 'section', 'binets', 'medals', + 'cv', 'jobs', 'photo'); # vim:set syntax=mysql: