diff --git a/install/mysql.sql b/install/mysql.sql index 9cf12411..bc10793e 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -258,7 +258,7 @@ CREATE TABLE IF NOT EXISTS sub_domaines ( web_action enum ('OK','UPDATE','DELETE') NOT NULL default 'UPDATE', web_result varchar(255) not null default '', enable enum ('ENABLED', 'ENABLE', 'DISABLED', 'DISABLE') NOT NULL DEFAULT 'ENABLED', - PRIMARY KEY (compte,domaine,sub,type) + PRIMARY KEY (compte,domaine,sub,type,valeur) -- ,FOREIGN KEY (type) REFERENCES (domaines_type) ) TYPE=MyISAM;