Prechádzať zdrojové kódy

fix 修复 update-sql 追加字段因顺序问题导致插入失败

疯狂的狮子li 3 rokov pred
rodič
commit
60132e9947

+ 1 - 1
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, '');

+ 1 - 1
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, '');
 

+ 1 - 1
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, '');