// small fix
This commit is contained in:
1 parent
0b7a3dd5b5
commit
1e1549d9eb
2 files changed
+3
-1
No files matched your search
@@ -2229,7 +2229,7 @@ CREATE TABLE `PREFIX_stock_available` (
|
|||||||
KEY `id_shop_group` (`id_shop_group`),
|
KEY `id_shop_group` (`id_shop_group`),
|
||||||
KEY `id_product` (`id_product`),
|
KEY `id_product` (`id_product`),
|
||||||
KEY `id_product_attribute` (`id_product_attribute`),
|
KEY `id_product_attribute` (`id_product_attribute`),
|
||||||
KEY `product_sqlstock` ( `id_product` , `id_product_attribute` , `id_shop` )
|
UNIQUE `product_sqlstock` ( `id_product` , `id_product_attribute` , `id_shop` )
|
||||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE `PREFIX_supply_order` (
|
CREATE TABLE `PREFIX_supply_order` (
|
||||||
|
|||||||
@@ -15,3 +15,5 @@ ALTER TABLE `PREFIX_product_attribute_shop` CHANGE `weight` `weight` DECIMAL(20,
|
|||||||
ALTER TABLE `PREFIX_order_carrier` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
|
ALTER TABLE `PREFIX_order_carrier` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
|
||||||
ALTER TABLE `PREFIX_attribute_impact` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
|
ALTER TABLE `PREFIX_attribute_impact` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
|
||||||
ALTER TABLE `PREFIX_order_detail` CHANGE `product_weight` `product_weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
|
ALTER TABLE `PREFIX_order_detail` CHANGE `product_weight` `product_weight` DECIMAL(20, 6) NOT NULL DEFAULT '0';
|
||||||
|
ALTER TABLE `PREFIX_stock_available` DROP INDEX `product_sqlstock`;
|
||||||
|
ALTER TABLE `PREFIX_stock_available` ADD UNIQUE (`id_product`, `id_product_attribute`, `id_shop`);
|
||||||
Reference in new issue
Block a user