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)
@ImportRuntimeHints(org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayAutoConfigurationRuntimeHints.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 Danilo, Chris Bono, Moritz Halbritter, Andy Wilkinson
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.autoconfigure.flyway.FlywaySchemaManagementProvider
flywayDefaultDdlModeProvider
(ObjectProvider<org.flywaydb.core.Flyway> flyways) org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.StringOrNumberToMigrationVersionConverter
-
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)
-