liche update for admin goods add auto_fine

This commit is contained in:
xxb
2021-08-26 16:47:34 +08:00
parent 0ef24b9818
commit 26822f891d
10 changed files with 801 additions and 6 deletions
+14
View File
@@ -37,3 +37,17 @@ alter table lc_items drop column frame_num;
alter table lc_items modify if_pack varchar(256) not null default '' comment '精品加装';
alter table lc_items add column addr_id int unsigned not null default 0 comment '存放地址ID' after address;
-- ----------------------------
-- Title:商品关联
-- Author:xusir
-- Table:lc_items_relate
-- ---------------------------
drop table if exists lc_items_relate;
create table lc_items_relate (
item_id int unsigned not null comment '商品id',
type varchar(50) not null default '0' comment '1-精品',
type_id int unsigned not null comment '类型ID',
status tinyint(1) not null default 1 comment '状态:-1删除,1正常',
primary key (item_id,type,type_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商品关联';