数据库脚本更新:超级管理员的role_key由admin修改为SuperAdminRole
This commit is contained in:
parent
c91f9686d7
commit
f8c699ebbd
@ -62,3 +62,6 @@ UPDATE `sys_user` SET `tenant_id`=1 WHERE `tenant_id`=0;
|
||||
-- 修改数据库id_token字段宽度
|
||||
ALTER TABLE `sys_social`
|
||||
CHANGE COLUMN `id_token` `id_token` VARCHAR(2000) NULL DEFAULT NULL COMMENT 'id token,部分平台可能没有' COLLATE 'utf8mb4_bin' AFTER `token_type`;
|
||||
|
||||
-- 数据库超级管理员的role_key由admin修改为SuperAdminRole
|
||||
UPDATE `sys_role` SET `role_key`='SuperAdminRole' WHERE `role_id`=1;
|
||||
|
@ -123,3 +123,6 @@ ALTER COLUMN "id_token" TYPE VARCHAR(2000),
|
||||
ALTER COLUMN "id_token" DROP NOT NULL,
|
||||
ALTER COLUMN "id_token" SET DEFAULT NULL::character varying;
|
||||
COMMENT ON COLUMN "sys_social"."id_token" IS 'id token,部分平台可能没有';
|
||||
|
||||
-- 数据库超级管理员的role_key由admin修改为SuperAdminRole
|
||||
UPDATE "public"."sys_role" SET "role_key"='SuperAdminRole' WHERE "role_id"=1;
|
||||
|
Loading…
Reference in New Issue
Block a user