diff --git a/.gitignore b/.gitignore index ee72da15..19877721 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 892e8e9d..1f008301 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ com.powsybl powsybl-parent-ws - 17 + 18 diff --git a/src/main/resources/db/changelog/changesets/changelog_20230922T190000Z.xml b/src/main/resources/db/changelog/changesets/changelog_20230922T190000Z.xml index 6dd41d4b..720acb24 100644 --- a/src/main/resources/db/changelog/changesets/changelog_20230922T190000Z.xml +++ b/src/main/resources/db/changelog/changesets/changelog_20230922T190000Z.xml @@ -3,79 +3,79 @@ 8:45941e9fbcb035e0ee19b39e13a44910 8:4483527312181898d659a2675ea7f701 8:67941451371a17c3091bd2efb8692dab 8:e23059d5df5d06edbfa505183066a6d0 8:098c7268906dbdd7050a8f3120b0543c 8:79e1d29d87456ccab44fc78849a4410d 8:1b6c60118990b9a408dd6eb9084becb3 8:aefaed186963e2da7b9f2d6de441e480 8:4b78efbc6aa67599ef7a4141358627fc 8:595c13d8025b1c8b3a6aa45a5cc35674 8:65a49512617e0bd24fcd2040c9d1b485 8:c26d4948bb161685649135649249e52b 8:d641447b3e32fd215f9d8116a168bbaf diff --git a/src/main/resources/db/changelog/changesets/changelog_20231017T182131Z.xml b/src/main/resources/db/changelog/changesets/changelog_20231017T182131Z.xml new file mode 100644 index 00000000..80d8f2c5 --- /dev/null +++ b/src/main/resources/db/changelog/changesets/changelog_20231017T182131Z.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/src/main/resources/db/changelog/db.changelog-master.yaml b/src/main/resources/db/changelog/db.changelog-master.yaml index c19a9a63..39d6d1fc 100644 --- a/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,29 +1,25 @@ databaseChangeLog: - - include: file: changesets/changelog_20211019T140751Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20220909T154800Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20230503T135347Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20230531T113101Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20230605T173446Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20230515T135427Z.xml relativeToChangelogFile: true - - include: file: changesets/changelog_20230922T190000Z.xml relativeToChangelogFile: true + - include: + file: changesets/changelog_20231017T182131Z.xml + relativeToChangelogFile: true diff --git a/src/test/resources/application-default.yml b/src/test/resources/application-default.yml index 39179000..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 + query: ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=PostgreSQL;DEFAULT_NULL_ORDERING=HIGH hostPort: ":"