From 774d202aa49ba3b8b3d56d2dcbf7474f35109f0b Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sat, 3 Jun 2023 20:53:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4flyway=E7=9A=84?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=EF=BC=8Cui-test=20load-test=20=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=B5=8B=E8=AF=95=E4=B9=9F=E8=83=BD=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/migration/3.0.0/ddl/V3.0.0_10__case_ddl.sql | 0 .../resources/migration/3.0.0/ddl/V3.0.0_11__system_ddl.sql | 0 .../main/resources/migration/3.0.0/ddl/V3.0.0_12__bug_ddl.sql | 0 .../src/main/resources/migration/3.0.0/ddl/V3.0.0_1__init.sql | 0 .../main/resources/migration/3.0.0/ddl/V3.0.0_2__sdk_ddl.sql | 0 .../main/resources/migration/3.0.0/ddl/V3.0.0_3__plan_ddl.sql | 0 .../resources/migration/3.0.0/ddl/V3.0.0_4__project_ddl.sql | 0 .../main/resources/migration/3.0.0/ddl/V3.0.0_5__api_ddl.sql | 0 .../main/resources/migration/3.0.0/ddl/V3.0.0_6__qrtz_ddl.sql | 0 .../main/resources/migration/3.0.0/ddl/V3.0.0_7__load_ddl.sql | 0 .../src/main/resources/migration/3.0.0/ddl/V3.0.0_8__ui_ddl.sql | 0 .../main/resources/migration/3.0.0/ddl/V3.0.0_9__load_ddl.sql | 0 .../main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql | 0 .../src/main/resources/migration/3.0.1/ddl/V3.0.1_1__init.sql | 0 .../services/api-test/src/test/resources/application.properties | 2 +- .../bug-management/src/test/resources/application.properties | 2 +- .../case-management/src/test/resources/application.properties | 2 +- .../src/test/resources/application.properties | 2 +- .../system-setting/src/test/resources/application.properties | 2 +- .../test-plan/src/test/resources/application.properties | 2 +- 20 files changed, 6 insertions(+), 6 deletions(-) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_10__case_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_11__system_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__bug_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_1__init.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_2__sdk_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_3__plan_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_6__qrtz_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_7__load_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_8__ui_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/ddl/V3.0.0_9__load_ddl.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql (100%) rename backend/{app => framework/domain}/src/main/resources/migration/3.0.1/ddl/V3.0.1_1__init.sql (100%) diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_10__case_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_10__case_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_10__case_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_10__case_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_11__system_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_11__system_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_11__system_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_11__system_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__bug_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__bug_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__bug_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_12__bug_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_1__init.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_1__init.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_1__init.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_1__init.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_2__sdk_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_2__sdk_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_2__sdk_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_2__sdk_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_3__plan_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_3__plan_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_3__plan_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_3__plan_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_4__project_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_6__qrtz_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_6__qrtz_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_6__qrtz_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_6__qrtz_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_7__load_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_7__load_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_7__load_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_7__load_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_8__ui_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_8__ui_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_8__ui_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_8__ui_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_9__load_ddl.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_9__load_ddl.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/ddl/V3.0.0_9__load_ddl.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_9__load_ddl.sql diff --git a/backend/app/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql rename to backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql diff --git a/backend/app/src/main/resources/migration/3.0.1/ddl/V3.0.1_1__init.sql b/backend/framework/domain/src/main/resources/migration/3.0.1/ddl/V3.0.1_1__init.sql similarity index 100% rename from backend/app/src/main/resources/migration/3.0.1/ddl/V3.0.1_1__init.sql rename to backend/framework/domain/src/main/resources/migration/3.0.1/ddl/V3.0.1_1__init.sql diff --git a/backend/services/api-test/src/test/resources/application.properties b/backend/services/api-test/src/test/resources/application.properties index dbb73ca597..4be4137d0d 100644 --- a/backend/services/api-test/src/test/resources/application.properties +++ b/backend/services/api-test/src/test/resources/application.properties @@ -49,7 +49,7 @@ spring.mvc.throw-exception-if-no-handler-found=true # flyway enable spring.flyway.enabled=true spring.flyway.baseline-on-migrate=true -spring.flyway.locations=filesystem:../../app/src/main/resources/migration +spring.flyway.locations=classpath:/migration spring.flyway.table=metersphere_version spring.flyway.baseline-version=0 spring.flyway.encoding=UTF-8 diff --git a/backend/services/bug-management/src/test/resources/application.properties b/backend/services/bug-management/src/test/resources/application.properties index 6b0ff2e3e2..f902b5206c 100644 --- a/backend/services/bug-management/src/test/resources/application.properties +++ b/backend/services/bug-management/src/test/resources/application.properties @@ -49,7 +49,7 @@ spring.mvc.throw-exception-if-no-handler-found=true # flyway enable spring.flyway.enabled=true spring.flyway.baseline-on-migrate=true -spring.flyway.locations=filesystem:../../app/src/main/resources/migration +spring.flyway.locations=classpath:/migration spring.flyway.table=metersphere_version spring.flyway.baseline-version=0 spring.flyway.encoding=UTF-8 diff --git a/backend/services/case-management/src/test/resources/application.properties b/backend/services/case-management/src/test/resources/application.properties index fc4798ab49..ce8982909f 100644 --- a/backend/services/case-management/src/test/resources/application.properties +++ b/backend/services/case-management/src/test/resources/application.properties @@ -49,7 +49,7 @@ spring.mvc.throw-exception-if-no-handler-found=true # flyway enable spring.flyway.enabled=true spring.flyway.baseline-on-migrate=true -spring.flyway.locations=filesystem:../../app/src/main/resources/migration +spring.flyway.locations=classpath:/migration spring.flyway.table=metersphere_version spring.flyway.baseline-version=0 spring.flyway.encoding=UTF-8 diff --git a/backend/services/project-management/src/test/resources/application.properties b/backend/services/project-management/src/test/resources/application.properties index 978326d18b..a5ceaa74f8 100644 --- a/backend/services/project-management/src/test/resources/application.properties +++ b/backend/services/project-management/src/test/resources/application.properties @@ -49,7 +49,7 @@ spring.mvc.throw-exception-if-no-handler-found=true # flyway enable spring.flyway.enabled=true spring.flyway.baseline-on-migrate=true -spring.flyway.locations=filesystem:../../app/src/main/resources/migration +spring.flyway.locations=classpath:/migration spring.flyway.table=metersphere_version spring.flyway.baseline-version=0 spring.flyway.encoding=UTF-8 diff --git a/backend/services/system-setting/src/test/resources/application.properties b/backend/services/system-setting/src/test/resources/application.properties index 71035947a4..6ae2fb4105 100644 --- a/backend/services/system-setting/src/test/resources/application.properties +++ b/backend/services/system-setting/src/test/resources/application.properties @@ -49,7 +49,7 @@ spring.mvc.throw-exception-if-no-handler-found=true # flyway enable spring.flyway.enabled=true spring.flyway.baseline-on-migrate=true -spring.flyway.locations=filesystem:../../app/src/main/resources/migration +spring.flyway.locations=classpath:/migration spring.flyway.table=metersphere_version spring.flyway.baseline-version=0 spring.flyway.encoding=UTF-8 diff --git a/backend/services/test-plan/src/test/resources/application.properties b/backend/services/test-plan/src/test/resources/application.properties index 1b9a09bfff..2e57dad6fa 100644 --- a/backend/services/test-plan/src/test/resources/application.properties +++ b/backend/services/test-plan/src/test/resources/application.properties @@ -49,7 +49,7 @@ spring.mvc.throw-exception-if-no-handler-found=true # flyway enable spring.flyway.enabled=true spring.flyway.baseline-on-migrate=true -spring.flyway.locations=filesystem:../../app/src/main/resources/migration +spring.flyway.locations=classpath:/migration spring.flyway.table=metersphere_version spring.flyway.baseline-version=0 spring.flyway.encoding=UTF-8