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 ffb628bc6 update h2 schema create table sql (#4781)
ffb628bc6 is described below
commit ffb628bc6b357cd16afff65af0c04c447e361ea6
Author: tomsun28 <[email protected]>
AuthorDate: Thu Jun 29 16:45:20 2023 +0800
update h2 schema create table sql (#4781)
---
shenyu-admin/src/main/resources/sql-script/h2/schema.sql | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
b/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
index a3971a9ce..57e53d8fd 100755
--- a/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
+++ b/shenyu-admin/src/main/resources/sql-script/h2/schema.sql
@@ -992,7 +992,7 @@ CREATE TABLE IF NOT EXISTS `tag_relation`
-- ----------------------------
-- Table structure for discovery
-- ----------------------------
-CREATE TABLE `discovery`
+CREATE TABLE IF NOT EXISTS `discovery`
(
`id` varchar(128) NOT NULL COMMENT 'primary key id',
`name` varchar(255) NOT NULL COMMENT 'the discovery name',
@@ -1026,7 +1026,7 @@ CREATE TABLE `discovery_handler`
-- ----------------------------
-- Table structure for discovery_upstream
-- ----------------------------
-CREATE TABLE `discovery_upstream`
+CREATE TABLE IF NOT EXISTS `discovery_upstream`
(
`id` varchar(128) NOT NULL COMMENT 'primary key id',
`discovery_handler_id` varchar(128) NOT NULL COMMENT 'the discovery
handler id',
@@ -1043,7 +1043,7 @@ CREATE TABLE `discovery_upstream`
-- ----------------------------
-- Table structure for proxy_selector
-- ----------------------------
-CREATE TABLE `proxy_selector`
+CREATE TABLE IF NOT EXISTS `proxy_selector`
(
`id` varchar(128) NOT NULL COMMENT 'primary key id',
`name` varchar(255) NOT NULL COMMENT 'the proxy name',
@@ -1059,7 +1059,7 @@ CREATE TABLE `proxy_selector`
-- ----------------------------
-- Table structure for discovery_rel
-- ----------------------------
-CREATE TABLE `discovery_rel`
+CREATE TABLE IF NOT EXISTS `discovery_rel`
(
`id` varchar(128) NOT NULL COMMENT 'primary key id',
`plugin_name` varchar(255) NOT NULL COMMENT 'the plugin name',