// 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:
mDeflotte
2011-12-21 09:07:26 +00:00
parent c7fa4db0a5
commit fce0c862bb
+12
View File
@@ -300,3 +300,15 @@ ALTER TABLE `PREFIX_specific_price` ADD `id_group_shop` INT(11) UNSIGNED NOT NUL
/* Generate order references */
/* 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);