// More fixes to upgrader sql
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11688 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -331,16 +331,6 @@ 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);
|
|
||||||
|
|
||||||
ALTER TABLE `PREFIX_order_detail` ADD `tax_computation_method` tinyint(1) unsigned NOT NULL default '0' AFTER `product_weight`;
|
ALTER TABLE `PREFIX_order_detail` ADD `tax_computation_method` tinyint(1) unsigned NOT NULL default '0' AFTER `product_weight`;
|
||||||
|
|
||||||
/* PHP:migrate_orders(); */;
|
/* PHP:migrate_orders(); */;
|
||||||
@@ -435,3 +425,5 @@ CREATE TABLE `PREFIX_webservice_account_shop` (
|
|||||||
PRIMARY KEY (`id_webservice_account` , `id_shop`),
|
PRIMARY KEY (`id_webservice_account` , `id_shop`),
|
||||||
KEY `id_shop` (`id_shop`)
|
KEY `id_shop` (`id_shop`)
|
||||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
ALTER TABLE `PREFIX_group` ADD `show_prices` tinyint(1) unsigned NOT NULL DEFAULT '1' AFTER `price_display_method`;
|
||||||
Reference in New Issue
Block a user