重构增加模型枚举值定义
This commit is contained in:
@@ -18,7 +18,7 @@ $$
|
||||
$$;
|
||||
|
||||
-- ====================
|
||||
-- region 管理员信息
|
||||
-- region 日志
|
||||
-- ====================
|
||||
|
||||
-- logs_request
|
||||
@@ -44,7 +44,7 @@ create table logs_request (
|
||||
-- logs_access表字段注释
|
||||
comment on table logs_request is '访问日志表';
|
||||
comment on column logs_request.id is '访问日志ID';
|
||||
comment on column logs_request.identity is '访客身份:0-游客,1-用户,2-服务,3-管理员';
|
||||
comment on column logs_request.identity is '访客身份:0-游客,1-用户,2-管理员,3-公共服务,4-安全服务,5-内部服务';
|
||||
comment on column logs_request.visitor is '访客ID';
|
||||
comment on column logs_request.ip is 'IP地址';
|
||||
comment on column logs_request.ua is '用户代理';
|
||||
@@ -281,7 +281,7 @@ comment on column client.grant_code is '允许授权码授予';
|
||||
comment on column client.grant_client is '允许客户端凭证授予';
|
||||
comment on column client.grant_refresh is '允许刷新令牌授予';
|
||||
comment on column client.grant_password is '允许密码授予';
|
||||
comment on column client.spec is '安全规范:1-native,2-browser,3-web';
|
||||
comment on column client.spec is '安全规范:1-native,2-browser,3-web,4-trusted';
|
||||
comment on column client.name is '名称';
|
||||
comment on column client.icon is '图标URL';
|
||||
comment on column client.status is '状态:0-禁用,1-正常';
|
||||
|
||||
Reference in New Issue
Block a user