From 4d816c98b09d61cdb337b0d0d4a7a8b475017fc1 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Mon, 29 May 2006 09:46:04 +0000 Subject: [PATCH] Add "DROP TABLE IF EXISTS" before creating the tables. --- sql/mysql/upgrade/3.0.1.1/document_role_allocations.sql | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/sql/mysql/upgrade/3.0.1.1/document_role_allocations.sql b/sql/mysql/upgrade/3.0.1.1/document_role_allocations.sql index d189cc3..214510d 100644 --- a/sql/mysql/upgrade/3.0.1.1/document_role_allocations.sql +++ b/sql/mysql/upgrade/3.0.1.1/document_role_allocations.sql @@ -1,5 +1,6 @@ SET FOREIGN_KEY_CHECKS=0; +DROP TABLE IF EXISTS `document_role_allocations`; CREATE TABLE `document_role_allocations` ( `id` int(11) NOT NULL default '0', `document_id` int(11) NOT NULL default '0', @@ -9,6 +10,7 @@ CREATE TABLE `document_role_allocations` ( KEY `document_id` (`document_id`) ) TYPE=InnoDB ; +DROP TABLE IF EXISTS `zseq_document_role_allocations`; CREATE TABLE `zseq_document_role_allocations` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -- libgit2 0.21.4