mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 同步 ruoyi
* update element-ui 2.15.10 => 2.15.12 * update 优化 tagsView右选框,首页不应该存在关闭左侧选项 * update copyright 2023 * update 优化 监控页面图标显示 * update 优化 日志注解支持排除指定的请求参数 * update 优化 业务校验优化代码 * fix 修复 优化文件下载出现的异常 * fix 修复 修改密码日志存储明文问题 * add 新增 操作日志消耗时间属性 * update 优化 日志管理使用索引提升查询性能 * update 优化 框架时间检索使用时间默认值 00:00:00 - 23:59:59
This commit is contained in:
@ -667,9 +667,14 @@ create table if not exists sys_oper_log
|
||||
status int4 default 0,
|
||||
error_msg varchar(2000) default ''::varchar,
|
||||
oper_time timestamp,
|
||||
cost_time int8 default 0,
|
||||
constraint sys_oper_log_pk primary key (oper_id)
|
||||
);
|
||||
|
||||
create unique index idx_sys_oper_log_bt ON sys_oper_log (business_type);
|
||||
create unique index idx_sys_oper_log_s ON sys_oper_log (status);
|
||||
create unique index idx_sys_oper_log_ot ON sys_oper_log (oper_time);
|
||||
|
||||
comment on table sys_oper_log is '操作日志记录';
|
||||
comment on column sys_oper_log.oper_id is '日志主键';
|
||||
comment on column sys_oper_log.tenant_id is '租户编号';
|
||||
@ -688,6 +693,7 @@ comment on column sys_oper_log.json_result is '返回参数';
|
||||
comment on column sys_oper_log.status is '操作状态(0正常 1异常)';
|
||||
comment on column sys_oper_log.error_msg is '错误消息';
|
||||
comment on column sys_oper_log.oper_time is '操作时间';
|
||||
comment on column sys_oper_log.cost_time is '消耗时间';
|
||||
|
||||
-- ----------------------------
|
||||
-- 11、字典类型表
|
||||
@ -709,7 +715,7 @@ create table if not exists sys_dict_type
|
||||
constraint sys_dict_type_pk primary key (dict_id)
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX sys_dict_type_index1 ON sys_dict_type (tenant_id, dict_type);
|
||||
create unique index sys_dict_type_index1 ON sys_dict_type (tenant_id, dict_type);
|
||||
|
||||
comment on table sys_dict_type is '字典类型表';
|
||||
comment on column sys_dict_type.dict_id is '字典主键';
|
||||
@ -865,6 +871,9 @@ create table if not exists sys_logininfor
|
||||
constraint sys_logininfor_pk primary key (info_id)
|
||||
);
|
||||
|
||||
create unique index idx_sys_logininfor_s ON sys_logininfor (status);
|
||||
create unique index idx_sys_logininfor_lt ON sys_logininfor (login_time);
|
||||
|
||||
comment on table sys_logininfor is '系统访问记录';
|
||||
comment on column sys_logininfor.info_id is '访问ID';
|
||||
comment on column sys_logininfor.tenant_id is '租户编号';
|
||||
@ -940,6 +949,7 @@ create table if not exists gen_table
|
||||
gen_type char default '0'::bpchar not null,
|
||||
gen_path varchar(200) default '/'::varchar,
|
||||
options varchar(1000) default null::varchar,
|
||||
create_dept int8,
|
||||
create_by int8,
|
||||
create_time timestamp,
|
||||
update_by int8,
|
||||
|
Reference in New Issue
Block a user