This commit is contained in:
xiaoyu
2021-07-22 18:55:15 +08:00
parent 83e259d0ba
commit c63370bb40
11 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ 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 not null default '' comment '更多数据',
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)
@@ -49,4 +49,4 @@ create table lc_app_wxpaylog (
notify_param text comment '回调参数',
u_time timestamp not null default 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='支付回调日志';
+1 -1
View File
@@ -17,7 +17,7 @@ create table lc_app_liche_users (
c_time int(10) unsigned not null default '0' comment '创建时间',
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='狸车小程序用户表'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='狸车小程序用户表';
-- ----------------------------
+1 -1
View File
@@ -20,5 +20,5 @@ create table lc_app_licheb_users (
c_time int(10) unsigned not null default '0' comment '创建时间',
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='狸车宝用户表'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='狸车宝用户表';
+1 -1
View File
@@ -11,7 +11,7 @@ create table lc_subjects(
title varchar(32) not null default '' comment '标题',
cover text comment '封面(多图用逗号隔开,包含图片信息)',
imgs text comment '图片信息(多图用逗号隔开,包含图片信息)',
content text not null comment '内容',
content text comment '内容',
cate_id int(10) unsigned not null default '0' comment '图片信息',
biz_id int(10) unsigned not null default '0' comment '商家id',
address varchar(255) not null default '' comment '定位地址',
+1 -1
View File
@@ -27,7 +27,7 @@ create table lc_auto_series (
c_time int(10) unsigned not null default '0' comment '创建时间',
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='车型库_车系'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='车型库_车系';
-- ----------------------------
-- Title:车型属性
+3 -3
View File
@@ -23,7 +23,7 @@ create table lc_biz (
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:品牌表
@@ -39,7 +39,7 @@ create table lc_biz_brand (
c_time int(10) unsigned not null default '0' comment '创建时间',
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='品牌表'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='品牌表';
-- ----------------------------
-- Title:商家标签关系
@@ -52,4 +52,4 @@ create table lc_biz_tagdata (
tag_id int(10) unsigned not null comment '标签id',
type tinyint(1) not null default '1' comment '1亮点标签 2附加标签',
primary key (biz_id,tag_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商家标签关系'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商家标签关系';
+1 -1
View File
@@ -14,4 +14,4 @@ create table lc_area(
county_name varchar(32) not null comment '区名称',
primary key(id)
)ENGINE=InnoDB default CHARSET=utf8mb4 COMMENT='行政区域表';
alter table lc_area add firstchar varchar(4) not null default '' comment '城市大写首字母'
alter table lc_area add firstchar varchar(4) not null default '' comment '城市大写首字母';
+1 -1
View File
@@ -32,5 +32,5 @@ create table lc_items (
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 AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商品表'
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商品表';
+1 -1
View File
@@ -15,7 +15,7 @@ create table `lc_order_purchase` (
`item_num` int(10) unsigned not null default '1' comment '商品/服务数量',
`item_price` decimal(12,2) not null default '0.00' comment '商品/服务价格',
`biz_id` int(11) not null default '0' comment '商家id',
`carriage` int(10) unsigned not null default '0', comment '运费',
`carriage` int(10) unsigned not null default '0' comment '运费',
`total_price` decimal(12,2) not null default '0.00' comment '订单价格',
`pay_price` decimal(12,2) not null default '0.00' comment '实付金额',
`uname` varchar(16) not null default '' comment '订单用户姓名',
+2 -2
View File
@@ -28,8 +28,8 @@ drop table if exists lc_receiver_order_bills;
create table lc_receiver_order_bills (
id int(10) unsigned not null auto_increment comment '自增id',
o_id int(10) unsigned not null default '0' comment '订单表id',
cardida varchar(100) not null default '' comment '份证正面图片',
cardidb varchar(100) not null default '' comment '份证正面图片',
cardida varchar(100) not null default '' comment '份证正面图片',
cardidb varchar(100) not null default '' comment '份证正面图片',
money decimal(10,2) not null default '0.00' comment '到账金额',
file varchar(100) not null default '' comment 'pdf文件',
jsondata json default null comment 'json数据',
+7 -7
View File
@@ -13,7 +13,7 @@ create table lc_sys_admin(
mobile varchar(11) not null default '' comment '手机号码',
password varchar(255) not null comment '用户密码',
role_id int unsigned not null default 0 comment '角色id',
other_json text not null default '' comment '行业、城市归属 json格式 {cate_id: [1,2]}',
other_json text comment '行业、城市归属 json格式 {cate_id: [1,2]}',
status tinyint(1) not null default 1 comment '状态 -1删除 0:禁用 1:启用',
c_time int unsigned not null default 0 comment '创建时间',
u_time timestamp not null default current_timestamp on update current_timestamp,
@@ -36,7 +36,7 @@ create table lc_sys_admin_log(
descrip varchar(255) not null comment '操作描述',
action varchar(32) not null comment '操作节点',
ip varchar(32) not null default '' comment 'ip',
jsondata text not null default '' comment '更多数据',
jsondata text comment '更多数据',
u_time timestamp not null default current_timestamp on update current_timestamp,
primary key(id)
)ENGINE=InnoDB default CHARSET=utf8mb4 COMMENT='管理日志表';
@@ -101,7 +101,7 @@ drop table if exists lc_sys_config;
create table lc_sys_config(
id int unsigned not null auto_increment comment '自增id',
k varchar(32) not null comment '配置key',
v text not null default '' comment '配置',
v text comment '配置',
c_time int unsigned not null default 0 comment '创建时间',
u_time timestamp not null default current_timestamp on update current_timestamp,
primary key(id)
@@ -138,8 +138,8 @@ drop table if exists lc_sys_role;
create table lc_sys_role(
id int unsigned not null auto_increment comment '角色id',
name varchar(32) not null comment '角色名称',
menu_ids text not null default '' comment '菜单id 都会隔开',
action_json text not null default '' comment '操作权限 json格式 {菜单id: [1,2]}',
menu_ids text comment '菜单id 都会隔开',
action_json text comment '操作权限 json格式 {菜单id: [1,2]}',
descrip varchar(255) not null default '' comment '角色描述',
status tinyint(1) not null default 1 comment '状态 -1删除 0:禁用 1:启用',
primary key(id)
@@ -172,7 +172,7 @@ create table lc_sys_content_tags (
tag_id int(10) unsigned not null comment '标签id',
status tinyint(1) not null default '1' comment '状态:-1删除,0禁用,1正常',
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:系统内容标签表
@@ -186,4 +186,4 @@ create table lc_sys_tag_category (
name varchar(32) not null default '' comment '分类名称',
status tinyint(1) not null default '1' comment '状态:-1删除,0禁用,1正常',
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='系统标签分类表';