Ai
2 Star 22 Fork 8

knightdreams6/spring-security-oauth2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
learn_security_sys_role.sql 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
create table sys_role
(
id varchar(20) not null comment '角色id'
primary key,
sr_name varchar(30) not null comment '角色名称',
sr_key varchar(20) not null comment '角色权限字符串',
sr_remark varchar(500) null comment '备注',
create_date datetime null comment '创建时间',
update_date datetime null comment '更新时间',
delete_date datetime null comment '删除时间',
deleted tinyint(1) default 0 not null,
constraint ux_role_key
unique (sr_key) comment '角色权限key唯一索引'
)
comment '角色信息';
INSERT INTO sys_role (id, sr_name, sr_key, sr_remark, create_date, update_date, delete_date, deleted)
VALUES ('1', '管理员', 'ROLE_admin', '管理员', '2020-06-22 08:58:26', '2020-06-22 08:58:26', null, 0);
INSERT INTO sys_role (id, sr_name, sr_key, sr_remark, create_date, update_date, delete_date, deleted)
VALUES ('2', '普通角色', 'ROLE_common', '普通角色', '2020-06-22 08:58:26', '2020-06-22 08:58:26', null, 0);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/knightdreams/spring-security-oauth2.git
git@gitee.com:knightdreams/spring-security-oauth2.git
knightdreams
spring-security-oauth2
spring-security-oauth2
master

搜索帮助