mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 21:00:53 +08:00 
			
		
		
		
	refactor: 角色表是否父子节点关联字段调整默认值为 true
This commit is contained in:
		| @@ -57,8 +57,8 @@ CREATE TABLE IF NOT EXISTS `sys_role` ( | ||||
|     `description`         varchar(200) DEFAULT NULL            COMMENT '描述', | ||||
|     `sort`                int          NOT NULL DEFAULT 999    COMMENT '排序', | ||||
|     `is_system`           bit(1)       NOT NULL DEFAULT b'0'   COMMENT '是否为系统内置数据', | ||||
|     `menu_check_strictly` bit(1)       DEFAULT b'0'            COMMENT '菜单选择是否父子节点关联', | ||||
|     `dept_check_strictly` bit(1)       DEFAULT b'0'            COMMENT '部门选择是否父子节点关联', | ||||
|     `menu_check_strictly` bit(1)       DEFAULT b'1'            COMMENT '菜单选择是否父子节点关联', | ||||
|     `dept_check_strictly` bit(1)       DEFAULT b'1'            COMMENT '部门选择是否父子节点关联', | ||||
|     `create_user`         bigint(20)   NOT NULL                COMMENT '创建人', | ||||
|     `create_time`         datetime     NOT NULL                COMMENT '创建时间', | ||||
|     `update_user`         bigint(20)   DEFAULT NULL            COMMENT '修改人', | ||||
|   | ||||
| @@ -90,8 +90,8 @@ CREATE TABLE IF NOT EXISTS "sys_role" ( | ||||
|     "description"         varchar(200) DEFAULT NULL, | ||||
|     "sort"                int4         NOT NULL DEFAULT 999, | ||||
|     "is_system"           bool         NOT NULL DEFAULT false, | ||||
|     "menu_check_strictly" bool DEFAULT false, | ||||
|     "dept_check_strictly" bool DEFAULT false, | ||||
|     "menu_check_strictly" bool DEFAULT true, | ||||
|     "dept_check_strictly" bool DEFAULT true, | ||||
|     "create_user"         int8         NOT NULL, | ||||
|     "create_time"         timestamp    NOT NULL, | ||||
|     "update_user"         int8         DEFAULT NULL, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user