// fix about upgrader and position in category_shop
This commit is contained in:
@@ -23,7 +23,6 @@ WHERE `name` = "order fenced" AND id_lang = 2;
|
||||
CREATE TABLE `PREFIX_category_shop` (
|
||||
`id_category` int(11) NOT NULL,
|
||||
`id_shop` int(11) NOT NULL,
|
||||
`position` int(10) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`id_category`, `id_shop`),
|
||||
UNIQUE KEY `id_category_shop` (`id_category`,`id_shop`)
|
||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||
|
||||
@@ -25,3 +25,5 @@ CREATE TABLE `PREFIX_module_preference` (
|
||||
PRIMARY KEY (`id_module_preference`),
|
||||
UNIQUE KEY `employee_module` (`id_employee`, `module`)
|
||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `PREFIX_category_shop` ADD `position` int(10) unsigned NOT NULL default 0 AFTER `id_shop`;
|
||||
Reference in New Issue
Block a user