From ae21e0c3d005cb3a538f040271e17437cc18f1d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Thu, 30 Mar 2023 19:31:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20oracle=20postgres=20?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=97=A5=E5=BF=97=E8=A1=A8=E7=B4=A2?= =?UTF-8?q?=E5=BC=95=E5=88=9B=E5=BB=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sql/oracle/oracle_ry_vue_5.X.sql | 10 +++++----- script/sql/postgres/postgres_ry_vue_5.X.sql | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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';