// removing categories assocation with shop

This commit is contained in:
vChabot
2011-12-21 16:18:24 +00:00
parent 4bf3b8290a
commit a6f549207a
12 changed files with 10 additions and 167 deletions
-7
View File
@@ -2333,11 +2333,4 @@ CREATE TABLE `PREFIX_specific_price_rule_condition` (
`value` VARCHAR(255) NOT NULL,
PRIMARY KEY (`id_specific_price_rule_condition`),
INDEX (`id_specific_price_rule_condition_group`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
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;
-4
View File
@@ -1725,10 +1725,6 @@ INSERT INTO `PREFIX_homeslider_slides_lang` (id_slide, id_lang, title, descripti
(4, 5, "PHP.net", "PrestaShop use PHP, the well-known open-source technology", "php", "http://www.php.net", "sample-4.jpg"),
(5, 5, "Smarty.net", "PrestaShop use the template engine Smarty (V3)", "Smarty", "http://www.smarty.net", "sample-5.jpg");
INSERT INTO `PREFIX_category_shop` (`id_category`, `id_shop`) VALUES
(2, 1),
(3, 1),
(4, 1);
CREATE TABLE IF NOT EXISTS `PREFIX_linksmenutop` (
`id_link` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
-2
View File
@@ -1606,5 +1606,3 @@ INSERT INTO `PREFIX_supply_order_state_lang` (`id_supply_order_state`, `id_lang`
(6, 3, 'order fenced'),
(6, 4, 'order fenced'),
(6, 5, 'order fenced');
INSERT INTO `PREFIX_category_shop` (`id_category`, `id_shop`) VALUES (1, 1);