org.springframework.boot.autoconfigure.flyway

Class FlywayMigrationInitializer

  • java.lang.Object
    • org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer
    • Constructor Detail

      • FlywayMigrationInitializer

        public FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway)
        Create a new FlywayMigrationInitializer instance.
        Parameters:
        flyway - the flyway instance
      • FlywayMigrationInitializer

        public FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway,
                                          FlywayMigrationStrategy migrationStrategy)
        Create a new FlywayMigrationInitializer instance.
        Parameters:
        flyway - the flyway instance
        migrationStrategy - the migration strategy or null