diff --git a/.gitignore b/.gitignore index 41e2fabd..c2d91ac2 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,6 @@ target/ # IntelliJ /.idea *.iml + +# https://github.com/liquibase/liquibase/issues/2196 +/derby.log diff --git a/pom.xml b/pom.xml index f613bd56..f7356715 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.powsybl powsybl-parent-ws - 17 + 18 diff --git a/src/main/resources/db/changelog/changesets/changelog_20231016T075748Z.xml b/src/main/resources/db/changelog/changesets/changelog_20231016T075748Z.xml new file mode 100644 index 00000000..9d68869a --- /dev/null +++ b/src/main/resources/db/changelog/changesets/changelog_20231016T075748Z.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/src/main/resources/db/changelog/changesets/changelog_20231016T152546Z.xml b/src/main/resources/db/changelog/changesets/changelog_20231016T152546Z.xml new file mode 100644 index 00000000..a3dca80a --- /dev/null +++ b/src/main/resources/db/changelog/changesets/changelog_20231016T152546Z.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/src/main/resources/db/changelog/db.changelog-master.yaml b/src/main/resources/db/changelog/db.changelog-master.yaml index 103caf72..cb716c37 100644 --- a/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,33 +1,31 @@ databaseChangeLog: - - include: file: changesets/changelog_20211019T140751Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20211028T094008Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20211123T105713Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20220706T093841Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20221013T153228Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20221123T132520Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20230313T145947Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20230706T144551Z.xml relativeToChangelogFile: true + - include: + file: changesets/changelog_20231016T075748Z.xml + relativeToChangelogFile: true + - include: + file: changesets/changelog_20231016T152546Z.xml + relativeToChangelogFile: true diff --git a/src/test/resources/application-default.yml b/src/test/resources/application-default.yml index f9a553c2..8de37a77 100644 --- a/src/test/resources/application-default.yml +++ b/src/test/resources/application-default.yml @@ -5,7 +5,7 @@ spring: dialect: org.hibernate.dialect.H2Dialect hibernate.format_sql: true hibernate: - #to turn off schema validation that fails (because of clob types) and blocks tests even if the the schema is compatible + #to turn off schema validation that fails (because of clob types) and blocks tests even if the schema is compatible ddl-auto: none logging: @@ -18,5 +18,5 @@ logging: powsybl-ws: database: vendor: h2:mem - query: ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=PostgreSQL + query: ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=PostgreSQL;DEFAULT_NULL_ORDERING=HIGH hostPort: ":"