X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=upgrade%2Fnewdirectory-0.0.1%2F06_education.sql;h=708e8eff884c42dfe90f0a3ac15e0819df972711;hb=97a986879bcebfe8de032a927470c4b22597c80d;hp=865d888b12d7a0b5050b70baea9190773c2f37f8;hpb=90862af65777b54eb2830b501729236fe50aa110;p=platal.git diff --git a/upgrade/newdirectory-0.0.1/06_education.sql b/upgrade/newdirectory-0.0.1/06_education.sql index 865d888..708e8ef 100644 --- a/upgrade/newdirectory-0.0.1/06_education.sql +++ b/upgrade/newdirectory-0.0.1/06_education.sql @@ -40,7 +40,8 @@ CREATE TABLE IF NOT EXISTS profile_education ( grad_year INT(4) DEFAULT NULL, program VARCHAR(255) DEFAULT NULL, flags SET('primary') DEFAULT '' NOT NULL, - PRIMARY KEY(id, uid) + PRIMARY KEY(id, uid), + INDEX uid (uid) ) CHARSET=utf8; INSERT INTO profile_education_field_enum (field)