From 7c8f60ac079c40185daf876c7f1f35e459a23de8 Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Wed, 22 Mar 2023 23:03:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9sql=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/sql/SQLWithXmlELMultiLanguageSpringbootTest.java | 2 +- .../src/test/resources/sql/schema.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/java/com/yomahub/liteflow/test/sql/SQLWithXmlELMultiLanguageSpringbootTest.java b/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/java/com/yomahub/liteflow/test/sql/SQLWithXmlELMultiLanguageSpringbootTest.java index aa862aadb..46df04608 100644 --- a/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/java/com/yomahub/liteflow/test/sql/SQLWithXmlELMultiLanguageSpringbootTest.java +++ b/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/java/com/yomahub/liteflow/test/sql/SQLWithXmlELMultiLanguageSpringbootTest.java @@ -16,7 +16,7 @@ import javax.annotation.Resource; @RunWith(SpringRunner.class) @TestPropertySource(value = "classpath:/application-xml.properties") -@SpringBootTest(classes = SQLWithXmlELSpringbootTest.class) +@SpringBootTest(classes = SQLWithXmlELMultiLanguageSpringbootTest.class) @EnableAutoConfiguration @ComponentScan({ "com.yomahub.liteflow.test.sql.cmp" }) public class SQLWithXmlELMultiLanguageSpringbootTest extends BaseTest { diff --git a/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/resources/sql/schema.sql b/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/resources/sql/schema.sql index 00292ff24..fa60f098a 100644 --- a/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/resources/sql/schema.sql +++ b/liteflow-testcase-el/liteflow-testcase-el-sql-springboot/src/test/resources/sql/schema.sql @@ -1,4 +1,4 @@ -create table `EL_TABLE` +create table IF NOT EXISTS `EL_TABLE` ( `id` bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY, `application_name` varchar(32) NOT NULL, @@ -7,7 +7,7 @@ create table `EL_TABLE` PRIMARY KEY (`id`) ); -create table `script_node_table` +create table IF NOT EXISTS `script_node_table` ( `id` bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY, `application_name` varchar(32) NOT NULL,