add-liche-dealer-apply
This commit is contained in:
+20
-4
@@ -7,9 +7,7 @@
|
||||
drop table if exists lc_app;
|
||||
create table lc_app (
|
||||
id int(11) not null auto_increment,
|
||||
name char(30) not null default '' comment '名称',
|
||||
logo varchar(128) not null default '' comment 'logo',
|
||||
jsondata text comment '更多数据',
|
||||
name char(30) not null default '' comment '名称', logo varchar(128) not null default '' comment 'logo', jsondata text comment '更多数据',
|
||||
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)
|
||||
@@ -118,4 +116,22 @@ create table lc_app_deal_log (
|
||||
c_time int(11) 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 COLLATE=utf8mb4_0900_ai_ci COMMENT='分销-记录表'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='分销-记录表';
|
||||
|
||||
-- ----------------------------
|
||||
-- Title:分销-申请表
|
||||
-- Author:lcc
|
||||
-- Table:lc_app_deal_apply
|
||||
-- ---------------------------
|
||||
drop table if exists lc_app_deal_apply;
|
||||
create table lc_app_deal_apply (
|
||||
id int(10) unsigned not null auto_increment comment '自增id',
|
||||
app_id int(10) unsigned not null default '0' comment '小程序id',
|
||||
app_uid int(10) unsigned not null default '0' comment '用户id',
|
||||
opt_uid int(10) unsigned not null default '0' comment '审核用户uid',
|
||||
remark varchar(255) not null default '' comment '备注',
|
||||
status tinyint(1) not null default '0' comment '状态(-1审核未通过 0待审核 1审核通过)',
|
||||
c_time int(10) unsigned 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 COLLATE=utf8mb4_0900_ai_ci COMMENT='分销-申请表';
|
||||
|
||||
+4
-3
@@ -18,9 +18,10 @@ create table lc_app_liche_users (
|
||||
u_time timestamp not null default current_timestamp on update current_timestamp,
|
||||
primary key (id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='狸车小程序用户表';
|
||||
alter table lc_app_liche_users add dealer tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否分销' after jsondata;
|
||||
alter table lc_app_liche_users add up_uid int(10) NOT NULL DEFAULT '0' COMMENT '上级uid' after dealer;
|
||||
|
||||
alter table lc_app_liche_users add dealer tinyint(1) not null default '0' comment '是否分销' after jsondata;
|
||||
alter table lc_app_liche_users add up_uid int(10) not null default '0' comment '上级uid' after dealer;
|
||||
alter table lc_app_liche_users add manage tinyint(1) not null default 0 comment '是否分销管理' after dealer;
|
||||
alter table lc_app_liche_users add deal_uid int(10) not null default 0 comment '审核分销uid' after dealer;
|
||||
|
||||
-- ----------------------------
|
||||
-- Title:狸车小程序cms
|
||||
|
||||
Reference in New Issue
Block a user