From 4a7144e25789244bc8d39f6257e412af940f400c Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Mon, 25 Feb 2013 15:15:37 +0000 Subject: [PATCH] =?UTF-8?q?Oups,=20manquait=20la=20d=C3=A9claration=20des?= =?UTF-8?q?=20db=5Fservers=20lors=20d'une=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/mysql.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/install/mysql.sql b/install/mysql.sql index a446bc80..32bcbbfc 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -172,6 +172,7 @@ CREATE TABLE IF NOT EXISTS membres ( warnfailed tinyint(4) default '0', -- TODO L`utilisateur veut-il recevoir un mail quand on tente de se logguer sur son compte ? admlist tinyint(4) default '0', -- Mode d`affichage de la liste des membres pour les super admins type varchar(128) default 'default', + db_server_id int(10) DEFAULT NULL, notes TEXT NOT NULL, created datetime default NULL, renewed datetime default NULL, @@ -698,3 +699,14 @@ INSERT IGNORE INTO `default_subdomains` (`sub`, `domain_type`, `domain_type_para ('', 'URL', 'http://%%TARGETDOM%%', 'SLAVE'); +-- Table for the MySQL servers +CREATE TABLE IF NOT EXISTS `db_servers` ( + `id` int(10) unsigned NOT NULL auto_increment, + `name` varchar(255) NOT NULL, + `host` varchar(255) NOT NULL, + `login` varchar(255) NOT NULL, + `password` varchar(255) NOT NULL, + `client` varchar(255) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM COMMENT='List of the databases servers'; +