From e2cc5d97807f0d1adf151f4fb8ddf5a37c928aac Mon Sep 17 00:00:00 2001 From: Tristan Chuine Date: Tue, 17 Oct 2023 14:40:50 +0200 Subject: [PATCH] Fix column type --- .gitignore | 3 +++ pom.xml | 2 +- .../db/changelog/changesets/changelog_20230810T095237Z.xml | 2 +- src/test/resources/application-default.yaml | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 8f46f791..68ed418a 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ /target/ /.idea/ /*.iml + +# https://github.com/liquibase/liquibase/issues/2196 +/derby.log diff --git a/pom.xml b/pom.xml index 7ef23c3e..fa1cf0ad 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_20230810T095237Z.xml b/src/main/resources/db/changelog/changesets/changelog_20230810T095237Z.xml index 09e904ad..d83ea9f3 100644 --- a/src/main/resources/db/changelog/changesets/changelog_20230810T095237Z.xml +++ b/src/main/resources/db/changelog/changesets/changelog_20230810T095237Z.xml @@ -3,7 +3,7 @@ 8:69b54d23810d9c683a83059dd23bd9a0 diff --git a/src/test/resources/application-default.yaml b/src/test/resources/application-default.yaml index ba15e6aa..56e97659 100644 --- a/src/test/resources/application-default.yaml +++ b/src/test/resources/application-default.yaml @@ -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: level: @@ -17,5 +17,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: ":"