This is an automated email from the ASF dual-hosted git repository.
dengliming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new a4b6e23b5 [type: bug] Fix upgrade sql (#4194)
a4b6e23b5 is described below
commit a4b6e23b5d25a7b70e8753d07aea0ac787478654
Author: xiaoyu <[email protected]>
AuthorDate: Wed Nov 16 22:24:23 2022 +0800
[type: bug] Fix upgrade sql (#4194)
* [type: refactor] remove incubator prefix
* fix-upgrade-sql
---
db/upgrade/2.4.3-upgrade-2.5.0-mysql.sql | 2 +-
db/upgrade/2.4.3-upgrade-2.5.0-pg.sql | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/db/upgrade/2.4.3-upgrade-2.5.0-mysql.sql
b/db/upgrade/2.4.3-upgrade-2.5.0-mysql.sql
index bbd2cf34c..db75ce6ec 100644
--- a/db/upgrade/2.4.3-upgrade-2.5.0-mysql.sql
+++ b/db/upgrade/2.4.3-upgrade-2.5.0-mysql.sql
@@ -45,7 +45,7 @@ INSERT IGNORE INTO shenyu_dict (`id`, `type`, `dict_code`,
`dict_name`, `dict_va
INSERT IGNORE INTO shenyu_dict (`id`, `type`, `dict_code`, `dict_name`,
`dict_value`, `desc`, `sort`, `enabled`) VALUES ('1529402613195784248',
'signRequestBody', 'SIGN_REQUEST_BODY', 'open', 'true', 'open', 0, 1);
-- refactor logging name
-UPDATE plugin SET name = 'LoggingConsole' WHERE name = 'logging';
+UPDATE plugin SET name = 'loggingConsole' WHERE name = 'logging';
-- new table operation_record_log
-- ----------------------------
diff --git a/db/upgrade/2.4.3-upgrade-2.5.0-pg.sql
b/db/upgrade/2.4.3-upgrade-2.5.0-pg.sql
index 4502456bb..89ef61aa9 100644
--- a/db/upgrade/2.4.3-upgrade-2.5.0-pg.sql
+++ b/db/upgrade/2.4.3-upgrade-2.5.0-pg.sql
@@ -45,7 +45,7 @@ INSERT INTO shenyu_dict ("id", "type", "dict_code",
"dict_name", "dict_value", "
INSERT INTO shenyu_dict ("id", "type", "dict_code", "dict_name", "dict_value",
"desc", "sort", "enabled") VALUES ('1529402613195784248', 'signRequestBody',
'SIGN_REQUEST_BODY', 'open', 'true', 'open', 0, 1);
-- refactor logging name
-UPDATE plugin SET name = "LoggingConsole" WHERE name = "logging";
+UPDATE plugin SET name = "loggingConsole" WHERE name = "logging";
-- new table operation_record_log
-- ----------------------------