[-] IN : Remove fails on upgrade coming to loop when upgrading again
This commit is contained in:
1 parent
19a6c4373e
commit
683513a9d2
2 files changed
+5
No files matched your search
@@ -1,4 +1,7 @@
|
|||||||
SET NAMES 'utf8';
|
SET NAMES 'utf8';
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `PREFIX_group_shop`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `PREFIX_group_shop` (
|
CREATE TABLE IF NOT EXISTS `PREFIX_group_shop` (
|
||||||
`id_group_shop` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
`id_group_shop` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`name` varchar(64) CHARACTER SET utf8 NOT NULL,
|
`name` varchar(64) CHARACTER SET utf8 NOT NULL,
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
UPDATE `PREFIX_meta` SET `page` = 'contact' WHERE `page` = 'contact-form';
|
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`;
|
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_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;
|
ALTER TABLE `PREFIX_shop` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL;
|
||||||
|
|||||||
Reference in new issue
Block a user