From 60132e994752712b50501de8a68ee9332c953dd1 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: Tue, 10 May 2022 10:24:25 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20update-sql=20?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E5=AD=97=E6=AE=B5=E5=9B=A0=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=AF=BC=E8=87=B4=E6=8F=92=E5=85=A5=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sql/update/oracle/update-4.1-4.2.sql | 2 +- script/sql/update/postgres/update-4.1-4.2.sql | 2 +- script/sql/update/update-4.1-4.2.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/sql/update/oracle/update-4.1-4.2.sql b/script/sql/update/oracle/update-4.1-4.2.sql index a4b52fdf3..4ee2999b9 100644 --- a/script/sql/update/oracle/update-4.1-4.2.sql +++ b/script/sql/update/oracle/update-4.1-4.2.sql @@ -7,4 +7,4 @@ update sys_oss_config set endpoint = 's3-cn-north-1.qiniucs.com', region = '' wh update sys_oss_config set endpoint = 'oss-cn-beijing.aliyuncs.com' where oss_config_id = 3; update sys_oss_config set endpoint = 'cos.ap-beijing.myqcloud.com' where oss_config_id = 4; -insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', '','N', '', '1', '', NULL, 'admin', sysdate, 'admin', sysdate); +insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', 'N', '', '1', '', NULL, 'admin', sysdate, 'admin', sysdate, ''); diff --git a/script/sql/update/postgres/update-4.1-4.2.sql b/script/sql/update/postgres/update-4.1-4.2.sql index 435dd3919..1ef4c22bf 100644 --- a/script/sql/update/postgres/update-4.1-4.2.sql +++ b/script/sql/update/postgres/update-4.1-4.2.sql @@ -7,5 +7,5 @@ update sys_oss_config set endpoint = 's3-cn-north-1.qiniucs.com', region = '' wh update sys_oss_config set endpoint = 'oss-cn-beijing.aliyuncs.com' where oss_config_id = 3; update sys_oss_config set endpoint = 'cos.ap-beijing.myqcloud.com' where oss_config_id = 4; -insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', '','N', '', '1', '', 'admin', now(), 'admin', now(), NULL); +insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', 'N', '', '1', '', 'admin', now(), 'admin', now(), NULL, ''); diff --git a/script/sql/update/update-4.1-4.2.sql b/script/sql/update/update-4.1-4.2.sql index 28a9ad7eb..26fe1cf4c 100644 --- a/script/sql/update/update-4.1-4.2.sql +++ b/script/sql/update/update-4.1-4.2.sql @@ -5,5 +5,5 @@ update sys_oss_config set endpoint = 's3-cn-north-1.qiniucs.com', region = '' wh update sys_oss_config set endpoint = 'oss-cn-beijing.aliyuncs.com' where oss_config_id = 3; update sys_oss_config set endpoint = 'cos.ap-beijing.myqcloud.com' where oss_config_id = 4; -insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', '','N', '', '1', '', 'admin', sysdate(), 'admin', sysdate(), NULL); +insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', 'N', '', '1', '', 'admin', sysdate(), 'admin', sysdate(), NULL, '');