You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by qi...@apache.org on 2022/04/02 10:12:38 UTC
[incubator-shenyu] branch master updated: fix sql (#3182)
This is an automated email from the ASF dual-hosted git repository.
qicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 9e163a6 fix sql (#3182)
9e163a6 is described below
commit 9e163a65e27696035b6ce7a6c35ef566a81df098
Author: zouchangfu <50...@users.noreply.github.com>
AuthorDate: Sat Apr 2 18:12:32 2022 +0800
fix sql (#3182)
---
shenyu-admin/src/main/resources/sql-script/pg/schema.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shenyu-admin/src/main/resources/sql-script/pg/schema.sql b/shenyu-admin/src/main/resources/sql-script/pg/schema.sql
index 556c7f6..89cacdc 100644
--- a/shenyu-admin/src/main/resources/sql-script/pg/schema.sql
+++ b/shenyu-admin/src/main/resources/sql-script/pg/schema.sql
@@ -386,7 +386,7 @@ ELSE
PERFORM public.dblink_exec('init_conn', 'INSERT INTO "plugin" VALUES (''' || '27' || ''', ''' || 'generalContext' || ''', NULL, ''' || 'Common' || ''', 125, 0, ''' || '2021-11-24 21:38:48' || ''', ''' || '2021-11-24 21:38:48' || ''');');
PERFORM public.dblink_exec('init_conn', 'INSERT INTO "plugin" VALUES (''' || '28' || ''', ''' || 'mqtt' || ''', ''' || '{"port": 9500,"bossGroupThreadCount": 1,"maxPayloadSize": 65536,"workerGroupThreadCount": 12,"userName": "shenyu","password": "shenyu","isEncryptPassword": false,"encryptMode": "","leakDetectorLevel": "DISABLED"}' || ''', ''' || 'Proxy' || ''', 125, 0, ''' || '2022-01-12 20:33:50' || ''', ''' || '2022-01-12 20:33:50' || ''');');
PERFORM public.dblink_exec('init_conn', 'INSERT INTO "plugin" VALUES (''' || '29' || ''', ''' || 'loggingRocketMQ' || ''', ''' || '{"topic":"shenyu-access-logging", "namesrvAddr": "localhost:9876","producerGroup":"shenyu-plugin-logging-rocketmq"}' || ''', ''' || 'Logging' || ''', 170, 0, ''' || '2022-03-20 09:33:50' || ''', ''' || '2022-03-20 09:33:50' || ''');');
- PERFORM public.dblink_exec('init_conn', 'INSERT INTO "plugin" VALUES (''' || '30' || ''', ''' || 'cache' || ''', ''' || '{"cacheType":"memory"}' || ''', ''' || 'Cache' || ''', 10, 0, null, null);');
+ PERFORM public.dblink_exec('init_conn', 'INSERT INTO "plugin" VALUES (''' || '30' || ''', ''' || 'cache' || ''', ''' || '{"cacheType":"memory"}' || ''', ''' || 'Cache' || ''', 10, 0);');