This is an automated email from the ASF dual-hosted git repository.

xiaoyu 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 06c7e16e8 fix issue3974:resolve the error caused by duplicated key in 
PG init script (#3977)
06c7e16e8 is described below

commit 06c7e16e80ff1c8f853030eee79980373b7203b3
Author: Wu Daifu <[email protected]>
AuthorDate: Thu Sep 22 10:38:53 2022 +0800

    fix issue3974:resolve the error caused by duplicated key in PG init script 
(#3977)
---
 db/init/pg/create-table.sql | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/db/init/pg/create-table.sql b/db/init/pg/create-table.sql
index 60327a918..c514920e4 100644
--- a/db/init/pg/create-table.sql
+++ b/db/init/pg/create-table.sql
@@ -843,8 +843,8 @@ INSERT INTO "public"."plugin_handle" VALUES 
('1529403902783524892', '28', 'leakD
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524893', '29', 
'topic', 'topic', 2, 3, 1, 
'{"required":"1","defaultValue":"shenyu-access-logging"}', '2022-05-25 
18:08:01', '2022-05-25 18:08:01');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524894', '29', 
'namesrvAddr', 'namesrvAddr', 2, 3, 2, 
'{"required":"1","defaultValue":"localhost:9876"}', '2022-05-25 18:08:01', 
'2022-05-25 18:08:01');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524895', '29', 
'producerGroup', 'producerGroup', 2, 3, 3, 
'{"required":"1","defaultValue":"shenyu-plugin-logging-rocketmq"}', '2022-05-25 
18:08:01', '2022-05-25 18:08:01');
-INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524975', '29', 
'accessKey', 'accessKey', 2, 3, 4, 
'{"required":"0","defaultValue":"","placeholder":"accessKey"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
-INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524976', '29', 
'secretKey', 'secretKey', 2, 3, 5, 
'{"required":"0","defaultValue":"","placeholder":"secretKey"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
+INSERT INTO "public"."plugin_handle" VALUES ('1529403902770941947', '29', 
'accessKey', 'accessKey', 2, 3, 4, 
'{"required":"0","defaultValue":"","placeholder":"accessKey"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
+INSERT INTO "public"."plugin_handle" VALUES ('1529403902770941948', '29', 
'secretKey', 'secretKey', 2, 3, 5, 
'{"required":"0","defaultValue":"","placeholder":"secretKey"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524896', '29', 
'sampleRate', 'sampleRate', 2, 3, 6, 
'{"required":"0","defaultValue":"1","placeholder":"optional,0,0.01~1"}', 
'2022-05-25 18:08:01', '2022-05-25 18:08:01');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524897', '29', 
'maxResponseBody', 'maxResponseBody', 1, 3, 7, 
'{"required":"0","defaultValue":524288}', '2022-05-25 18:08:01', '2022-05-25 
18:08:01');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524898', '29', 
'maxRequestBody', 'maxRequestBody', 1, 3, 8, 
'{"required":"0","defaultValue":524288}', '2022-05-25 18:08:01', '2022-05-25 
18:08:01');
@@ -874,9 +874,9 @@ INSERT INTO "public"."plugin_handle" VALUES 
('1537326008606343168', '31', 'respo
 INSERT INTO "public"."plugin_handle" VALUES ('1537325892176658432', '31', 
'httpStatusCode', 'httpStatusCode', 1, 2, 0, 
'{"required":"0","defaultValue":"200","rule":""}', '2022-06-16 14:47:09', 
'2022-06-16 14:50:39');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524921', '32', 
'host', 'host', 2, 3, 2, '{"required":"1","defaultValue":"localhost"}', 
'2022-06-19 22:00:00', '2022-06-19 22:00:00');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524922', '32', 
'port', 'port', 2, 3, 3, '{"required":"1","defaultValue":"9200"}', '2022-06-19 
22:00:00', '2022-06-19 22:00:00');
-INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524972', '32', 
'username', 'username', 2, 3, 4, 
'{"required":"0","defaultValue":"","placeholder":"username"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
-INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524973', '32', 
'password', 'password', 2, 3, 5, 
'{"required":"0","defaultValue":"","placeholder":"username"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
-INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524974', '32', 
'authCache', 'authCache', 2, 3, 6, 
'{"required":"0","defaultValue":"","placeholder":"true|false"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
+INSERT INTO "public"."plugin_handle" VALUES ('1529403902770941949', '32', 
'username', 'username', 2, 3, 4, 
'{"required":"0","defaultValue":"","placeholder":"username"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
+INSERT INTO "public"."plugin_handle" VALUES ('1529403902770941950', '32', 
'password', 'password', 2, 3, 5, 
'{"required":"0","defaultValue":"","placeholder":"username"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
+INSERT INTO "public"."plugin_handle" VALUES ('1529403902770941951', '32', 
'authCache', 'authCache', 2, 3, 6, 
'{"required":"0","defaultValue":"","placeholder":"true|false"}', '2022-08-20 
21:00:00', '2022-08-20 21:00:00');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524923', '32', 
'sampleRate', 'sampleRate', 2, 3, 7, 
'{"required":"0","defaultValue":"1","placeholder":"optional,0,0.01~1"}', 
'2022-06-19 22:00:00', '2022-06-19 22:00:00');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524924', '32', 
'maxResponseBody', 'maxResponseBody', 1, 3, 8, 
'{"required":"0","defaultValue":524288}', '2022-06-19 22:00:00', '2022-06-19 
22:00:00');
 INSERT INTO "public"."plugin_handle" VALUES ('1529403902783524925', '32', 
'maxRequestBody', 'maxRequestBody', 1, 3, 9, 
'{"required":"0","defaultValue":524288}', '2022-06-19 22:00:00', '2022-06-19 
22:00:00');

Reply via email to