diff --git a/pom.xml b/pom.xml index be1fa817a1c93caeab45a756db330f07447dbbd6..93550938803965ec18dba8dcc761497423c69c36 100644 --- a/pom.xml +++ b/pom.xml @@ -124,7 +124,6 @@ <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-core</artifactId> - <scope>test</scope> </dependency> </dependencies> diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 7bf47a3379c01ba0ed3221ae87e55741556a8c0f..04113ad57575087eb4e128b9d8ba220d7629181e 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,3 +1,7 @@ server.error: include-message: always include-stacktrace: always + +spring: + flyway: + enabled: true diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index fa1bc4a2d907c5040f0aea87a8d488b5baf8bf37..3fa395b018d404834d689b41b4102812140293c5 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -3,6 +3,8 @@ spring: open-in-view: false # database columns are TIMESTAMP WITHOUT TIMEZONE, this make sure we send date-time values with time offset 0 properties.hibernate.jdbc.time_zone: UTC + flyway: + enabled: false submission: long-code-lifetime: 10d