Removes empty section and adds unique key on section names.
[platal.git] / upgrade / account / 01_profiles.sql
index 96c0f85..040e3ee 100644 (file)
@@ -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,