add-licheb-brokerage
This commit is contained in:
@@ -23,3 +23,20 @@ create table lc_app_licheb_users (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='狸车宝用户表';
|
||||
alter table lc_app_licheb_users add column jsondata json default null comment '其他信息' after biz_id;
|
||||
alter table lc_app_licheb_users modify biz_id varchar(200) not null default 0 comment '门店id多个用逗号隔开(1,2,3)';
|
||||
|
||||
-- ----------------------------
|
||||
-- Title:商家订单分佣配置
|
||||
-- Author:lcc
|
||||
-- Table:lc_app_licheb_brokerage
|
||||
-- ---------------------------
|
||||
drop table if exists lc_app_licheb_brokerage;
|
||||
create table lc_app_licheb_brokerage (
|
||||
id int(10) not null auto_increment comment '自增id',
|
||||
biz_id varchar(50) not null default '' comment '商家id',
|
||||
brokerage_1 decimal(12,2) not null default 0.00 comment '一级佣金',
|
||||
brokerage_2 decimal(12,2) not null default 0.00 comment '二级佣金',
|
||||
status tinyint(1) not null default 0 comment '状态(1正常 0禁用 -1删除)',
|
||||
c_time int(10) not null default 0 comment '创建时间',
|
||||
u_time timestamp not null default current_timestamp on update current_timestamp comment '更新时间',
|
||||
primary key (id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商家订单分佣配置';
|
||||
|
||||
Reference in New Issue
Block a user