liche update for admin biz add auto brands

This commit is contained in:
xxb
2021-08-16 11:59:01 +08:00
parent df24267e97
commit 8b641618bb
4 changed files with 216 additions and 138 deletions
+4
View File
@@ -3,6 +3,9 @@
-- Author:lcc
-- Table:lc_biz
-- ---------------------------
-- jsondata:{"auto_brands":[1,2,3]}
-- auto_brands:车型库_品牌ID
-- ---------------------------
drop table if exists lc_biz;
create table lc_biz (
id int(10) unsigned not null auto_increment comment '自增id',
@@ -26,6 +29,7 @@ create table lc_biz (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商家表';
alter table lc_biz add column type tinyint(1) not null default 0 comment '类型:1-合伙店,2-加盟店,3-代理店' after floor;
alter table lc_biz add column company_id int not null default 0 comment '公司ID' after type;
alter table lc_biz add column jsondata json null comment '其他数据' after company_id;
-- ----------------------------
-- Title:品牌表