Skip to content

Commit 212ab3b

Browse files
committed
chore: 优化 security schema.sql
1 parent 721b302 commit 212ab3b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

simple-common/sql/security/schema.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ create table security_role
2525
id bigint unsigned auto_increment,
2626
code varchar(50) not null comment '角色代码',
2727
name varchar(50) not null comment '角色名称',
28+
description varchar(100) comment '角色描述',
2829
create_time datetime default current_timestamp,
2930
update_time datetime default null on update current_timestamp,
3031
primary key (id),
@@ -38,8 +39,8 @@ create table security_role
3839
create table security_api
3940
(
4041
id bigint unsigned auto_increment,
41-
url varchar(50) not null comment '接口路径',
42-
description varchar(100) not null comment '接口描述',
42+
url varchar(50) not null comment '接口路径',
43+
description varchar(100) comment '接口描述',
4344
create_time datetime default current_timestamp,
4445
update_time datetime default null on update current_timestamp,
4546
primary key (id),

0 commit comments

Comments
 (0)