diff --git a/script/sql/oracle/oracle_ry_vue_5.X.sql b/script/sql/oracle/oracle_ry_vue_5.X.sql index 2c3ceb20..26414798 100644 --- a/script/sql/oracle/oracle_ry_vue_5.X.sql +++ b/script/sql/oracle/oracle_ry_vue_5.X.sql @@ -654,9 +654,9 @@ create table sys_oper_log ( ); alter table sys_oper_log add constraint pk_sys_oper_log 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); +create index idx_sys_oper_log_bt on sys_oper_log (business_type); +create index idx_sys_oper_log_s on sys_oper_log (status); +create 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 '日志主键'; @@ -854,8 +854,8 @@ create table sys_logininfor ( ); alter table sys_logininfor add constraint pk_sys_logininfor 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); +create index idx_sys_logininfor_s on sys_logininfor (status); +create 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'; diff --git a/script/sql/postgres/postgres_ry_vue_5.X.sql b/script/sql/postgres/postgres_ry_vue_5.X.sql index 037b1b2f..930daf0c 100644 --- a/script/sql/postgres/postgres_ry_vue_5.X.sql +++ b/script/sql/postgres/postgres_ry_vue_5.X.sql @@ -671,9 +671,9 @@ create table if not exists sys_oper_log 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); +create index idx_sys_oper_log_bt ON sys_oper_log (business_type); +create index idx_sys_oper_log_s ON sys_oper_log (status); +create 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 '日志主键'; @@ -877,8 +877,8 @@ 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); +create index idx_sys_logininfor_s ON sys_logininfor (status); +create 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';