From 87f977c85b387b401c5ccad2b35231e1f9378e5b Mon Sep 17 00:00:00 2001 From: Nahuel Angelinetti Date: Wed, 26 Apr 2006 16:58:29 +0000 Subject: [PATCH] rajout de la condition lors de la creation des tables dbusers References: #265 --- install/mysql.sql | 2 +- install/upgrades/0.9.5.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/mysql.sql b/install/mysql.sql index 363b77f2..4c520124 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -421,7 +421,7 @@ If this is set to 0 or a "false" string, it will be ignored.'); -- Table structure for table `dbusers` -- -CREATE TABLE `dbusers` ( +CREATE TABLE IF NOT EXISTS `dbusers` ( `id` int(10) unsigned NOT NULL auto_increment, `uid` int(10) unsigned NOT NULL default '0', `name` varchar(16) NOT NULL default '', diff --git a/install/upgrades/0.9.5.sql b/install/upgrades/0.9.5.sql index 1d52caec..8606e34b 100644 --- a/install/upgrades/0.9.5.sql +++ b/install/upgrades/0.9.5.sql @@ -41,7 +41,7 @@ CREATE TABLE IF NOT EXISTS `size_web` ( ) TYPE=MyISAM COMMENT='Web space used by accounts.'; -- ajout d'une table pour la gestion des utilisateurs mysql -CREATE TABLE `dbusers` ( +CREATE TABLE IF NOT EXISTS `dbusers` ( `id` int(10) unsigned NOT NULL auto_increment, `uid` int(10) unsigned NOT NULL default '0', `name` varchar(16) NOT NULL default '',