From aa4205efe37550293630c6cb919403e4837702f9 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Mon, 18 Sep 2023 23:34:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.0=E3=80=91=E3=80=90role=E3=80=91?= =?UTF-8?q?=E6=9B=B4=E6=96=B0sql=E7=9A=84=E5=AD=97=E6=AE=B5=E9=95=BF?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../V8.0.0_20230908_1253__add_role_limit.sql | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230908_1253__add_role_limit.sql b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230908_1253__add_role_limit.sql index d46b6ba48..652fc1b16 100644 --- a/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230908_1253__add_role_limit.sql +++ b/kernel-s-system/system-spring-boot-starter/src/main/resources/db/migration/mysql/V8.0.0_20230908_1253__add_role_limit.sql @@ -1,11 +1,11 @@ CREATE TABLE `sys_role_limit` ( - `role_limit_id` bigint(0) NOT NULL COMMENT '主键', - `role_id` bigint(0) NOT NULL COMMENT '角色id', - `limit_type` tinyint(0) NOT NULL COMMENT '角色限制类型:1-角色可分配的菜单,2-角色可分配的功能', - `business_id` bigint(0) NOT NULL COMMENT '业务id,为菜单id或菜单功能id', - `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', - `create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人', - `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', - `update_user` bigint(0) NULL DEFAULT NULL COMMENT '修改人', + `role_limit_id` bigint NOT NULL COMMENT '主键', + `role_id` bigint NOT NULL COMMENT '角色id', + `limit_type` tinyint NOT NULL COMMENT '角色限制类型:1-角色可分配的菜单,2-角色可分配的功能', + `business_id` bigint NOT NULL COMMENT '业务id,为菜单id或菜单功能id', + `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', + `create_user` bigint NULL DEFAULT NULL COMMENT '创建人', + `update_time` datetime NULL DEFAULT NULL COMMENT '修改时间', + `update_user` bigint NULL DEFAULT NULL COMMENT '修改人', PRIMARY KEY (`role_limit_id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色权限限制' ROW_FORMAT = Dynamic; \ No newline at end of file