@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={liquibase.integration.spring.SpringLiquibase.class,liquibase.change.DatabaseChange.class}) @ConditionalOnProperty(prefix="spring.liquibase", name="enabled", matchIfMissing=true) @Conditional(value=org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseDataSourceCondition.class) @AutoConfigureAfter(value={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class}) @Import(value=DatabaseInitializationDependencyConfigurer.class) public class LiquibaseAutoConfiguration extends Object
Auto-configuration
for Liquibase.Modifier and Type | Class and Description |
---|---|
static class |
LiquibaseAutoConfiguration.LiquibaseConfiguration |
Constructor and Description |
---|
LiquibaseAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider |
liquibaseDefaultDdlModeProvider(ObjectProvider<liquibase.integration.spring.SpringLiquibase> liquibases) |
@Bean public org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider liquibaseDefaultDdlModeProvider(ObjectProvider<liquibase.integration.spring.SpringLiquibase> liquibases)