Commit 71b0cc1f by 岳巧源

add sql

parent 22cd3daf
create table lie_shop_picture ( create table lie_shop_picture (
id int unsigned auto_increment comment '主键id' primary key, id int unsigned auto_increment comment '主键id' primary key,
spu_id bigint unsigned default 0 not null comment 'SPUID', spu_id bigint(19) unsigned default 0 not null comment 'SPUID',
sku_id bigint unsigned default 0 not null comment 'SKUID', sku_id bigint(19) unsigned default 0 not null comment 'SKUID',
class_id smallint unsigned default 0 not null comment '猎芯分类id', class_id smallint unsigned default 0 not null comment '猎芯分类id',
lie_pic_url varchar(100) default '' not null comment '猎芯图片链接', lie_pic_url varchar(100) default '' not null comment '猎芯图片链接',
jd_pic_url varchar(100) default '' not null comment '京东图片链接', jd_pic_url varchar(100) default '' not null comment '京东图片链接',
shop_type smallint(1) unsigned default 0 not null comment '店铺类型 1-pop 2-vc', shop_type smallint(1) unsigned default 0 not null comment '店铺类型 1-pop 2-vc',
state smallint(1) unsigned default 0 not null comment '图片状态 图片状态,0-未审核,1-审核通过(默认),2-审核不通过,3-图片空间逻辑删除,4-图片服务器逻辑删除,5-图片服务器物理删除,6-图片空间永久删除', state smallint(1) unsigned default 0 not null comment '图片状态 图片状态,0-未审核,1-审核通过(默认),2-审核不通过,3-图片空间逻辑删除,4-图片服务器逻辑删除,5-图片服务器物理删除,6-图片空间永久删除',
create_time int unsigned default 0 not null comment '创建时间', create_time int(10) unsigned default 0 not null comment '创建时间',
update_time int unsigned default 0 not null comment '更新时间' update_time int(10) unsigned default 0 not null comment '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='猎芯京东图片映射表'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='猎芯京东图片映射表';
create index spu_id_index on lie_shop_picture(spu_id); create index spu_id_index on lie_shop_picture(spu_id);
......
create table lie_shop_push_sku_log ( create table lie_shop_push_sku_log (
id int unsigned auto_increment comment '主键id' primary key, id int unsigned auto_increment comment '主键id' primary key,
spu_id bigint unsigned default 0 not null comment 'SPUID', spu_id bigint(19) unsigned default 0 not null comment 'SPUID',
sku_id bigint unsigned default 0 not null comment 'SKUID', sku_id bigint(19) unsigned default 0 not null comment 'SKUID',
apply_id varchar(100) default '' not null comment '申请id, 用于查询京东审核记录', apply_id varchar(100) default '' not null comment '申请id, 用于查询京东审核记录',
request_body_msg text not null comment '请求参数体信息', request_body_msg text not null comment '请求参数体信息',
resp_body_msg text not null comment '响应信息', resp_body_msg text not null comment '响应信息',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment