Upgrade to Flyway 10.18.0
Closes gh-42295
This commit is contained in:
@@ -225,6 +225,7 @@ public class FlywayAutoConfiguration {
|
||||
* @param configuration the configuration
|
||||
* @param properties the properties
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
private void configureProperties(FluentConfiguration configuration, FlywayProperties properties) {
|
||||
// NOTE: Using method references in the mapper methods can break
|
||||
// back-compatibility (see gh-38164)
|
||||
|
||||
@@ -597,10 +597,13 @@ public class FlywayProperties {
|
||||
this.cleanDisabled = cleanDisabled;
|
||||
}
|
||||
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
@DeprecatedConfigurationProperty(since = "3.4.0")
|
||||
public boolean isCleanOnValidationError() {
|
||||
return this.cleanOnValidationError;
|
||||
}
|
||||
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
public void setCleanOnValidationError(boolean cleanOnValidationError) {
|
||||
this.cleanOnValidationError = cleanOnValidationError;
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
class FlywayPropertiesTests {
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("removal")
|
||||
void defaultValuesAreConsistent() {
|
||||
FlywayProperties properties = new FlywayProperties();
|
||||
Configuration configuration = new FluentConfiguration();
|
||||
|
||||
Reference in New Issue
Block a user