File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88* Enable pod specific annotations in Marquez Helm Chart via ` marquez.podAnnotations ` [ @wslulciuc ] ( https://github.com/wslulciuc )
99* Add support for job renaming/redirection via symlink [ @collado-mike ] ( https://github.com/collado-mike )
1010
11+ ### Changed
12+
13+ * Upgrade Flyway to v7.6.0 [ @dakshin-k ] ( https://github.com/dakshin-k )
14+
1115## [ 0.21.0] ( https://github.com/MarquezProject/marquez/compare/0.20.0...0.21.0 ) - 2022-03-03
1216
1317### Added
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ dependencies {
4545 implementation ' com.google.guava:guava:31.1-jre'
4646 implementation ' org.dhatim:dropwizard-sentry:2.0.29'
4747 implementation " io.sentry:sentry:${ sentryVersion} "
48- implementation ' org.flywaydb:flyway-core:6.5.7 '
48+ implementation ' org.flywaydb:flyway-core:7.6.0 '
4949 implementation " org.postgresql:postgresql:${ postgresqlVersion} "
5050 implementation ' com.graphql-java:graphql-java:18.0'
5151 implementation ' com.graphql-java-kickstart:graphql-java-servlet:12.0.0'
Original file line number Diff line number Diff line change 77import lombok .extern .slf4j .Slf4j ;
88import org .flywaydb .core .Flyway ;
99import org .flywaydb .core .api .FlywayException ;
10+ import org .flywaydb .core .api .output .MigrateResult ;
1011
1112@ Slf4j
1213public final class DbMigration {
@@ -31,8 +32,8 @@ public static void migrateDbOrError(
3132 // issues before app termination.
3233 try {
3334 log .info ("Migrating database..." );
34- final int migrations = flyway .migrate ();
35- log .info ("Successfully applied '{}' migrations to database." , migrations );
35+ final MigrateResult migrateResult = flyway .migrate ();
36+ log .info ("Successfully applied '{}' migrations to database." , migrateResult . migrationsExecuted );
3637 } catch (FlywayException errorOnDbMigrate ) {
3738 log .error ("Failed to apply migration to database." , errorOnDbMigrate );
3839 try {
You can’t perform that action at this time.
0 commit comments