mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2025-08-15 03:52:54 +08:00
Update default value for role filter scopes (#649)
This commit is contained in:
@ -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 '创建时间';
|
||||
|
Reference in New Issue
Block a user