Class FlywayAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration

@AutoConfiguration(after={DataSourceAutoConfiguration.class,JdbcTemplateAutoConfiguration.class,HibernateJpaAutoConfiguration.class}) @ConditionalOnClass(org.flywaydb.core.Flyway.class) @Conditional(org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayDataSourceCondition.class) @ConditionalOnProperty(prefix="spring.flyway", name="enabled", matchIfMissing=true) @Import(DatabaseInitializationDependencyConfigurer.class) public class FlywayAutoConfiguration extends Object
Auto-configuration for Flyway database migrations.
Since:
1.1.0
Author:
Dave Syer, Phillip Webb, Vedran Pavic, Stephane Nicoll, Jacques-Etienne Beaudet, Eddú Meléndez, Dominic Gunn, Dan Zheng, András Deák, Semyon Danilov, Chris Bono
  • Constructor Details

    • FlywayAutoConfiguration

      public FlywayAutoConfiguration()
  • Method Details

    • stringOrNumberMigrationVersionConverter

      @Bean @ConfigurationPropertiesBinding public org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.StringOrNumberToMigrationVersionConverter stringOrNumberMigrationVersionConverter()
    • flywayDefaultDdlModeProvider

      @Bean public org.springframework.boot.autoconfigure.flyway.FlywaySchemaManagementProvider flywayDefaultDdlModeProvider(ObjectProvider<org.flywaydb.core.Flyway> flyways)