mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-04 22:41:24 +08:00
Added enable status to Role, Group and User
This commit is contained in:
@@ -105,6 +105,7 @@ create table `t_group`
|
||||
(
|
||||
`id` bigint not null primary key,
|
||||
`name` varchar(30) not null comment '用户组名',
|
||||
`enable` int not null comment '启用',
|
||||
`deleted` bigint not null default 0,
|
||||
`version` int not null default 0,
|
||||
constraint t_group_unique unique (name, deleted)
|
||||
@@ -125,6 +126,7 @@ create table `t_role`
|
||||
(
|
||||
`id` bigint not null primary key,
|
||||
`name` varchar(20) not null comment '角色名',
|
||||
`enable` int not null comment '启用',
|
||||
`deleted` bigint not null default 0,
|
||||
`version` int not null default 0,
|
||||
constraint t_role_unique unique (name, deleted)
|
||||
|
||||
Reference in New Issue
Block a user