-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Description
Flyway, starting from 5.2, added a configuration property required when using the pro/enterprise version:
It would be nice to be able to configure this directly from yaml/properties files, without having to use a FlywayConfigurationCustomizer.
I could probably create a PR if this sounds nice to you.
For the record, the following is needed without this support:
@Configuration
class FlywayConfig(
@Value("\${my-app.flyway.license}") private val flywayLicense: String) {
@Bean
fun flywayLicenseCustomizer() = FlywayConfigurationCustomizer { it.licenseKey(flywayLicense) }
}
With the support I suggest, it would be done simply with:
spring.flyway.license-key: "trial"
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement