From 9f980cec023df45347381c9f72611aaa24b786c9 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Wed, 17 Nov 2010 19:33:57 +0000 Subject: [PATCH] Modification de la creation de la DB pour les install neuve pour le patch r2784 --- install/mysql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/mysql.sql b/install/mysql.sql index 2c2f5978..b49eef80 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -267,7 +267,7 @@ CREATE TABLE IF NOT EXISTS sub_domaines ( sub varchar(100) NOT NULL default '', valeur varchar(255) default NULL, type int(1) NOT NULL default '0', - PRIMARY KEY (compte,domaine,sub) + PRIMARY KEY (compte,domaine,sub,type) ) TYPE=MyISAM; # @@ -282,7 +282,7 @@ CREATE TABLE IF NOT EXISTS sub_domaines_standby ( valeur varchar(255) default NULL, type int(1) NOT NULL default '0', action int(1) NOT NULL default '0', - PRIMARY KEY (compte,domaine,sub,action) + PRIMARY KEY (compte,domaine,sub,action,type) ) TYPE=MyISAM; #