From 011b12cfaa0f2b11e45bc297546855985b38bd84 Mon Sep 17 00:00:00 2001 From: flop25 Date: Fri, 1 Sep 2017 15:29:51 +0200 Subject: [PATCH] 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,