This commit is contained in:
xiaoyu
2021-07-22 18:55:15 +08:00
parent b290c687f5
commit 235f8a0c6e
11 changed files with 21 additions and 21 deletions
+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='系统标签分类表';