From 74574343552286b1333b1875f2a2bc7073f1b326 Mon Sep 17 00:00:00 2001 From: Thibaud Ajas Date: Mon, 24 Apr 2017 15:07:27 +0200 Subject: [PATCH] Correction bug d'install de la bd : Table 'type_documents' already exists --- database/labinvent_2.1_12-05-16.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/labinvent_2.1_12-05-16.sql b/database/labinvent_2.1_12-05-16.sql index 42dddd7..b5f6224 100755 --- a/database/labinvent_2.1_12-05-16.sql +++ b/database/labinvent_2.1_12-05-16.sql @@ -293,8 +293,8 @@ CREATE TABLE IF NOT EXISTS `type_suivis` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; - -CREATE TABLE `type_documents` ( +DROP TABLE IF EXISTS `type_documents`; +CREATE TABLE IF NOT EXISTS `type_documents` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nom` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) -- libgit2 0.21.2