Update default value for role filter scopes (#649)

This commit is contained in:
Wu Clan
2025-05-31 23:53:47 +08:00
committed by GitHub
parent 7659b63d88
commit 7bab8cc636
6 changed files with 24 additions and 20 deletions

View File

@ -268,14 +268,15 @@ create index ix_sys_opera_log_id
create table sys_role
(
id serial
id serial
primary key,
name varchar(20) not null
name varchar(20) not null
unique,
status integer not null,
remark text,
created_time timestamp with time zone not null,
updated_time timestamp with time zone
status integer not null,
is_filter_scopes integer not null,
remark text,
created_time timestamp with time zone not null,
updated_time timestamp with time zone
);
comment on table sys_role is '角色表';
@ -286,6 +287,8 @@ comment on column sys_role.name is '角色名称';
comment on column sys_role.status is '角色状态0停用 1正常';
comment on column sys_role.is_filter_scopes is '过滤数据权限(0否 1是)';
comment on column sys_role.remark is '备注';
comment on column sys_role.created_time is '创建时间';