数据库脚本:超级管理员的role_key由admin修改为SuperAdminRole

This commit is contained in:
数据小王子 2024-03-12 11:15:23 +08:00
parent f8c699ebbd
commit bcd06f3d2b
2 changed files with 2 additions and 2 deletions

View File

@ -1007,7 +1007,7 @@ CREATE TABLE IF NOT EXISTS `sys_role` (
-- 正在导出表 ruoyi-flex.sys_role 的数据:~10 rows (大约)
INSERT INTO `sys_role` (`role_id`, `tenant_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `version`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1, 1, '超级管理员角色', 'admin', 1, '1', 1, 1, '0', 0, 0, 1, '2023-06-03 21:32:28', 1, NULL, '超级管理员');
(1, 1, '超级管理员角色', 'SuperAdminRole', 1, '1', 1, 1, '0', 0, 0, 1, '2023-06-03 21:32:28', 1, NULL, '超级管理员');
-- 导出 表 ruoyi-flex.sys_role_dept 结构
DROP TABLE IF EXISTS `sys_role_dept`;

View File

@ -1340,7 +1340,7 @@ comment on column sys_role.update_time is '更新时间';
comment on column sys_role.remark is '备注';
INSERT INTO sys_role VALUES
(1,1, '超级管理员角色', 'admin', 1, '1', '1', '1', '0', 0,0, 1, '2023-06-03 21:32:28', 1, NULL, '超级管理员');
(1,1, '超级管理员角色', 'SuperAdminRole', 1, '1', '1', '1', '0', 0,0, 1, '2023-06-03 21:32:28', 1, NULL, '超级管理员');
drop table if exists sys_role_dept;
create table if not exists sys_role_dept