Skip to content

Commit

Permalink
fix: flyway spring boot 3.4.0 test migrations apply in prod (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dankoy authored Dec 22, 2024
1 parent 5b74742 commit a05e66c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine'

implementation 'org.flywaydb:flyway-core'
// starting from spring boot 3.4.0 flyway (10.20.1) behavior is ridiculous
// it applied migrations from tests on production environment
// so I decided to use latest version from maven
// 11.1.0, 11.0.1, 10.22.0 works perfect
// TODO: use versions from spring dep manager (can it even be trusted after this horrendous upgrade?)
implementation 'org.flywaydb:flyway-core:11.1.0'
// implementation 'org.jooq:jooq'

// freemarker
Expand Down

0 comments on commit a05e66c

Please sign in to comment.