FlywayConfig

@Configuration
@Import(value = [DataSourceConfig::class])
class FlywayConfig

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@Bean(name = ["repoFlywayConfiguration"])
fun configuration(@Qualifier(value = "repoDataSource") dataSource: DataSource?): Configuration
Link copied to clipboard
@Bean(name = ["repoFlyway"])
fun flyway(configuration: Configuration?): Flyway
Link copied to clipboard
@Bean(name = ["repoFlywayMigrationInitializer"])
fun flywayMigrationInitializer(flyway: Flyway?): FlywayMigrationInitializer
Link copied to clipboard
@Bean(name = ["repoFlywayProperties"])
@ConfigurationProperties(prefix = "spring.flyway")
fun flywayProperties(): FlywayProperties
Link copied to clipboard
@Profile(value = ["!new"])
@Bean(name = ["repoFlywayValidateInitializer"])
fun flywayValidateInitializer(flyway: Flyway?): FlywayMigrationInitializer