[-] IN : Remove fails on upgrade coming to loop when upgrading again
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
SET NAMES 'utf8';
|
||||
|
||||
DROP TABLE IF EXISTS `PREFIX_group_shop`;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `PREFIX_group_shop` (
|
||||
`id_group_shop` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(64) CHARACTER SET utf8 NOT NULL,
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
UPDATE `PREFIX_meta` SET `page` = 'contact' WHERE `page` = 'contact-form';
|
||||
|
||||
DROP TABLE IF EXISTS `PREFIX_shop_group`;
|
||||
|
||||
RENAME TABLE `PREFIX_group_shop` TO `PREFIX_shop_group`;
|
||||
ALTER TABLE `PREFIX_shop_group` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||
ALTER TABLE `PREFIX_shop` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL;
|
||||
|
||||
Reference in New Issue
Block a user