From 715ab551a7224929ddec2ab912a5edec67ae96af Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Wed, 17 Jan 2024 15:30:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.1.0=E3=80=91=E3=80=90role=E3=80=91?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7=E8=A7=92=E8=89=B2=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=A4=E4=B8=AA=E5=AD=97=E6=AE=B5=EF=BC=8C?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E8=A7=92=E8=89=B2=E7=B1=BB=E5=9E=8B=EF=BC=8C?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E8=A7=92=E8=89=B2=E6=89=80=E5=B1=9E=E5=85=AC?= =?UTF-8?q?=E5=8F=B8id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migration/mysql/V8.1.0_20240115_2308__multi_org_role.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240115_2308__multi_org_role.sql b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240115_2308__multi_org_role.sql index fcb541695..d9eb2108b 100644 --- a/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240115_2308__multi_org_role.sql +++ b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.1.0_20240115_2308__multi_org_role.sql @@ -4,4 +4,5 @@ ADD COLUMN `role_type` tinyint NOT NULL DEFAULT 10 COMMENT '角色类型:10- ADD COLUMN `role_company_id` bigint NULL COMMENT '角色所属公司id,当角色类型为20时传此值' AFTER `role_type`; ALTER TABLE `sys_user_role` -ADD COLUMN `role_company_id` bigint NULL COMMENT '角色所属公司id' AFTER `role_id`; \ No newline at end of file +ADD COLUMN `role_type` tinyint NOT NULL DEFAULT 10 COMMENT '角色类型:10-系统角色,20-公司角色' AFTER `role_id`, +ADD COLUMN `role_company_id` bigint NULL DEFAULT NULL COMMENT '角色所属公司id' AFTER `role_type`; \ No newline at end of file