From 410edc8de191f60b6305613203b1af0f4cf4e1b6 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 5 Sep 2017 13:24:49 +0200 Subject: [PATCH] (cp 011b12c) fixes #751, missing DROP statements at install --- install/piwigo_structure-mysql.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/piwigo_structure-mysql.sql b/install/piwigo_structure-mysql.sql index c7b33b9f7..8715b2235 100644 --- a/install/piwigo_structure-mysql.sql +++ b/install/piwigo_structure-mysql.sql @@ -168,6 +168,7 @@ CREATE TABLE `piwigo_image_category` ( -- Table structure for table `piwigo_image_format` -- +DROP TABLE IF EXISTS `piwigo_image_format`; CREATE TABLE `piwigo_image_format` ( `format_id` int(11) unsigned NOT NULL auto_increment, `image_id` mediumint(8) unsigned NOT NULL DEFAULT '0', @@ -370,6 +371,7 @@ CREATE TABLE `piwigo_user_access` ( -- Table structure for table `piwigo_user_auth_keys` -- +DROP TABLE IF EXISTS `piwigo_user_auth_keys`; CREATE TABLE `piwigo_user_auth_keys` ( `auth_key_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `auth_key` varchar(255) NOT NULL,