This is an automated email from the ASF dual-hosted git repository.
hefengen 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 d9d08b74f7 [type:bug]fix sql (#5086)
d9d08b74f7 is described below
commit d9d08b74f7f3277677dd98e4984a760a36405dba
Author: Misaya295 <[email protected]>
AuthorDate: Fri Aug 25 13:02:45 2023 +0800
[type:bug]fix sql (#5086)
* fix sql
* fix sql
---
db/upgrade/2.5.1-upgrade-2.6.0-mysql.sql | 2 +-
db/upgrade/2.5.1-upgrade-2.6.0-pg.sql | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/db/upgrade/2.5.1-upgrade-2.6.0-mysql.sql
b/db/upgrade/2.5.1-upgrade-2.6.0-mysql.sql
index 2fc7e6cb62..af8e5facba 100644
--- a/db/upgrade/2.5.1-upgrade-2.6.0-mysql.sql
+++ b/db/upgrade/2.5.1-upgrade-2.6.0-mysql.sql
@@ -178,4 +178,4 @@ UPDATE `plugin_handle` set sort = 3 where id =
'1529402613204172836';
UPDATE `plugin_handle` set sort = 4 where id = '1529402613204172837';
UPDATE `plugin_handle` set sort = 5 where id = '1529402613204172838';
-INSERT INTO `plugin_handle` VALUES ('1678997557628272641', '17',
'registerAddress', 'registerAddress', 2, 3, 1,
'{\"required\":\"0\",\"defaultValue\":\"127.0.0.1:8002\",\"placeholder\":\"registerAddress\",\"rule\":\"\"}',
'2023-01-10 10:08:01.158', '2023-01-10 10:08:01.158'));
+INSERT INTO `plugin_handle` VALUES ('1678997557628272641', '17',
'registerAddress', 'registerAddress', 2, 3, 1,
'{\"required\":\"0\",\"defaultValue\":\"127.0.0.1:8002\",\"placeholder\":\"registerAddress\",\"rule\":\"\"}',
'2023-01-10 10:08:01.158', '2023-01-10 10:08:01.158');
diff --git a/db/upgrade/2.5.1-upgrade-2.6.0-pg.sql
b/db/upgrade/2.5.1-upgrade-2.6.0-pg.sql
index 0ce68ae5b5..2d556f5321 100644
--- a/db/upgrade/2.5.1-upgrade-2.6.0-pg.sql
+++ b/db/upgrade/2.5.1-upgrade-2.6.0-pg.sql
@@ -17,7 +17,7 @@
-- this file works for PostgreSQL, can not use "`" syntax.
ALTER TABLE selector ADD COLUMN match_restful int2 NOT NULL;
-COMMENT ON COLUMN "public"."rule"."match_restful" IS 'whether to match
restful(0 cache, 1 not cache)';
+COMMENT ON COLUMN "public"."selector"."match_restful" IS 'whether to match
restful(0 cache, 1 not cache)';
COMMIT;
ALTER TABLE rule ADD COLUMN match_restful int2 NOT NULL;