// Add table category_shop on upgrading
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11449 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
c7fa4db0a5
commit
fce0c862bb
1 file changed
+12
@@ -300,3 +300,15 @@ ALTER TABLE `PREFIX_specific_price` ADD `id_group_shop` INT(11) UNSIGNED NOT NUL
|
|||||||
|
|
||||||
/* Generate order references */
|
/* Generate order references */
|
||||||
/* PHP:generate_order_reference(); */;
|
/* PHP:generate_order_reference(); */;
|
||||||
|
|
||||||
|
CREATE TABLE `PREFIX_category_shop` (
|
||||||
|
`id_category` int(11) NOT NULL,
|
||||||
|
`id_shop` int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (`id_category`, `id_shop`),
|
||||||
|
UNIQUE KEY `id_category_shop` (`id_category`,`id_shop`)
|
||||||
|
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
INSERT INTO `PREFIX_category_shop` (`id_category`, `id_shop`) VALUES
|
||||||
|
(1, 1);
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user