X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=upgrade%2Faccount%2F01_profiles.sql;h=040e3ee153dc7b4241c75dd8ca12faac9972966e;hb=843a2191e4c76f0beb00c754f06974de76791238;hp=02fa34b0ca0e89a5ac51635655a2f2411435f700;hpb=483da16573717c21c7e6da3eacc094048ab7d72f;p=platal.git diff --git a/upgrade/account/01_profiles.sql b/upgrade/account/01_profiles.sql index 02fa34b..040e3ee 100644 --- a/upgrade/account/01_profiles.sql +++ b/upgrade/account/01_profiles.sql @@ -1,3 +1,4 @@ +drop table if exists profiles; create table profiles ( # Profile identifiers pid int(6) not null auto_increment, @@ -27,6 +28,9 @@ create table profiles ( nationality2 char(2) default null, nationality3 char(2) default null, + # Directory informations + email_directory varchar(255) default null, + # Last modification date (for notifications) last_change date not null, @@ -37,6 +41,6 @@ create table profiles ( key nationality1 (nationality1), key nationality2 (nationality2), key nationality3 (nationality3) -); +) ENGINE=InnoDB, CHARSET=utf8; # vim:set syntax=mysql: