...
|
...
|
@@ -95,8 +95,8 @@ Alter table product_shop_relation add primary key(product_skn, shop_id); |
|
|
|
|
|
|
|
|
-- 2.2 搭配信息
|
|
|
Alter table product_collocation add column `product_skn` int(11) unsigned DEFAULT '0';
|
|
|
create index collocation_skn on product_collocation(product_skn);
|
|
|
-- Alter table product_collocation add column `product_skn` int(11) unsigned DEFAULT '0';
|
|
|
-- create index collocation_skn on product_collocation(product_skn);
|
|
|
|
|
|
-- 2.3 商品封面
|
|
|
Alter table goods_images add column `product_skc` int(11) unsigned DEFAULT '0';
|
...
|
...
|
@@ -150,7 +150,7 @@ Alter table product_shop_relation add primary key(product_skn, shop_id); |
|
|
-- 3 数据需要特殊割接
|
|
|
|
|
|
-- 3.1 上架的时候同步插入product_id 数据割接 老数据需要通过product_id 查询product_skn 插入数据库
|
|
|
-- product_collocation product_timing
|
|
|
-- product_timing
|
|
|
|
|
|
-- product_brand_relation 只需要上架成功,将product_id 填充
|
|
|
|
...
|
...
|
|