// fix about upgrader and position in category_shop

This commit is contained in:
vChabot
2012-02-14 16:54:22 +00:00
parent b0ecfba717
commit 57501026d6
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -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;
+2
View File
@@ -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`;