@Configuration @ConditionalOnClass(value=org.flywaydb.core.Flyway.class) @ConditionalOnBean(value=javax.sql.DataSource.class) @ConditionalOnProperty(prefix="flyway", name="enabled", matchIfMissing=true) public class FlywayAutoConfiguration extends Object
Auto-configuration
for Flyway database migrations.Modifier and Type | Class and Description |
---|---|
static class |
FlywayAutoConfiguration.FlywayConfiguration |
protected static class |
FlywayAutoConfiguration.FlywayJpaDependencyConfiguration
Additional configuration to ensure that
EntityManagerFactory beans
depend-on the flyway bean. |
Constructor and Description |
---|
FlywayAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.StringOrNumberToMigrationVersionConverter |
stringOrNumberMigrationVersionConverter() |
@Bean @ConfigurationPropertiesBinding public org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.StringOrNumberToMigrationVersionConverter stringOrNumberMigrationVersionConverter()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.