...
|
...
|
@@ -131,8 +131,8 @@ Alter table product_shop_relation add primary key(product_skn, shop_id); |
|
|
|
|
|
|
|
|
-- 2.7 搜索关键词
|
|
|
Alter table product_keywords ADD column `product_skn` int(11) unsigned default 0;
|
|
|
create index keywords_skn on product_keywords(`product_skn`);
|
|
|
-- Alter table product_keywords ADD column `product_skn` int(11) unsigned default 0;
|
|
|
-- create index keywords_skn on product_keywords(`product_skn`);
|
|
|
|
|
|
|
|
|
-- 2.8 平台商品属性值表
|
...
|
...
|
@@ -150,9 +150,9 @@ Alter table product_shop_relation add primary key(product_skn, shop_id); |
|
|
-- 3 数据需要特殊割接
|
|
|
|
|
|
-- 3.1 上架的时候同步插入product_id 数据割接 老数据需要通过product_id 查询product_skn 插入数据库
|
|
|
-- product_collocation product_special_attr product_timing
|
|
|
-- product_collocation product_timing
|
|
|
|
|
|
-- product_search product_brand_relation 只需要上架成功,将product_id 填充
|
|
|
-- product_brand_relation 只需要上架成功,将product_id 填充
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|