diff --git a/yudao-admin-server/src/test/resources/sql/create_tables.sql b/yudao-admin-server/src/test/resources/sql/create_tables.sql index 0a7ed5b07..7b78c8e58 100644 --- a/yudao-admin-server/src/test/resources/sql/create_tables.sql +++ b/yudao-admin-server/src/test/resources/sql/create_tables.sql @@ -507,7 +507,7 @@ CREATE TABLE IF NOT EXISTS "pay_app" PRIMARY KEY ("id") ) COMMENT = '支付应用信息'; -CREATE TABLE "pay_channel" +CREATE TABLE IF NOT EXISTS "pay_channel" ( "id" number NOT NULL GENERATED BY DEFAULT AS IDENTITY, "code" varchar(32) NOT NULL, @@ -525,7 +525,7 @@ CREATE TABLE "pay_channel" PRIMARY KEY ("id") ) COMMENT = '支付渠道'; -CREATE TABLE `pay_order` +CREATE TABLE IF NOT EXISTS `pay_order` ( "id" number NOT NULL GENERATED BY DEFAULT AS IDENTITY, `merchant_id` bigint(20) NOT NULL, @@ -561,7 +561,7 @@ CREATE TABLE `pay_order` -CREATE TABLE `pay_refund` +CREATE TABLE IF NOT EXISTS `pay_refund` ( "id" number NOT NULL GENERATED BY DEFAULT AS IDENTITY, `req_no` varchar(64) NOT NULL,