|
|
|
|
@ -28,7 +28,6 @@ import java.util.List;
@@ -28,7 +28,6 @@ import java.util.List;
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties; |
|
|
|
|
import org.springframework.boot.context.properties.DeprecatedConfigurationProperty; |
|
|
|
|
import org.springframework.boot.convert.DurationUnit; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
@ -209,7 +208,7 @@ public class FlywayProperties {
@@ -209,7 +208,7 @@ public class FlywayProperties {
|
|
|
|
|
/** |
|
|
|
|
* Whether to disable cleaning of the database. |
|
|
|
|
*/ |
|
|
|
|
private boolean cleanDisabled; |
|
|
|
|
private boolean cleanDisabled = true; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Whether to automatically call clean when a validation error occurs. |
|
|
|
|
@ -222,30 +221,6 @@ public class FlywayProperties {
@@ -222,30 +221,6 @@ public class FlywayProperties {
|
|
|
|
|
*/ |
|
|
|
|
private boolean group; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Whether to ignore missing migrations when reading the schema history table. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
private boolean ignoreMissingMigrations; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Whether to ignore ignored migrations when reading the schema history table. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
private boolean ignoreIgnoredMigrations; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Whether to ignore pending migrations when reading the schema history table. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
private boolean ignorePendingMigrations; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Whether to ignore future migrations when reading the schema history table. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
private boolean ignoreFutureMigrations = true; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Whether to allow mixing transactional and non-transactional statements within the |
|
|
|
|
* same migration. |
|
|
|
|
@ -377,11 +352,6 @@ public class FlywayProperties {
@@ -377,11 +352,6 @@ public class FlywayProperties {
|
|
|
|
|
*/ |
|
|
|
|
private Boolean detectEncoding; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Filename prefix for baseline migrations. Requires Flyway Teams. |
|
|
|
|
*/ |
|
|
|
|
private String baselineMigrationPrefix; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Prefix of placeholders in migration scripts. |
|
|
|
|
*/ |
|
|
|
|
@ -664,50 +634,6 @@ public class FlywayProperties {
@@ -664,50 +634,6 @@ public class FlywayProperties {
|
|
|
|
|
this.group = group; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "spring.flyway.ignore-migration-patterns") |
|
|
|
|
public boolean isIgnoreMissingMigrations() { |
|
|
|
|
return this.ignoreMissingMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
public void setIgnoreMissingMigrations(boolean ignoreMissingMigrations) { |
|
|
|
|
this.ignoreMissingMigrations = ignoreMissingMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "spring.flyway.ignore-migration-patterns") |
|
|
|
|
public boolean isIgnoreIgnoredMigrations() { |
|
|
|
|
return this.ignoreIgnoredMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
public void setIgnoreIgnoredMigrations(boolean ignoreIgnoredMigrations) { |
|
|
|
|
this.ignoreIgnoredMigrations = ignoreIgnoredMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "spring.flyway.ignore-migration-patterns") |
|
|
|
|
public boolean isIgnorePendingMigrations() { |
|
|
|
|
return this.ignorePendingMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
public void setIgnorePendingMigrations(boolean ignorePendingMigrations) { |
|
|
|
|
this.ignorePendingMigrations = ignorePendingMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "spring.flyway.ignore-migration-patterns") |
|
|
|
|
public boolean isIgnoreFutureMigrations() { |
|
|
|
|
return this.ignoreFutureMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
public void setIgnoreFutureMigrations(boolean ignoreFutureMigrations) { |
|
|
|
|
this.ignoreFutureMigrations = ignoreFutureMigrations; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean isMixed() { |
|
|
|
|
return this.mixed; |
|
|
|
|
} |
|
|
|
|
@ -860,17 +786,6 @@ public class FlywayProperties {
@@ -860,17 +786,6 @@ public class FlywayProperties {
|
|
|
|
|
this.oracleKerberosCacheFile = oracleKerberosCacheFile; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@DeprecatedConfigurationProperty(replacement = "spring.flyway.kerberos-config-file") |
|
|
|
|
@Deprecated |
|
|
|
|
public String getOracleKerberosConfigFile() { |
|
|
|
|
return getKerberosConfigFile(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Deprecated |
|
|
|
|
public void setOracleKerberosConfigFile(String oracleKerberosConfigFile) { |
|
|
|
|
setKerberosConfigFile(oracleKerberosConfigFile); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Boolean getOutputQueryResults() { |
|
|
|
|
return this.outputQueryResults; |
|
|
|
|
} |
|
|
|
|
@ -911,14 +826,6 @@ public class FlywayProperties {
@@ -911,14 +826,6 @@ public class FlywayProperties {
|
|
|
|
|
this.detectEncoding = detectEncoding; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String getBaselineMigrationPrefix() { |
|
|
|
|
return this.baselineMigrationPrefix; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setBaselineMigrationPrefix(String baselineMigrationPrefix) { |
|
|
|
|
this.baselineMigrationPrefix = baselineMigrationPrefix; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String getScriptPlaceholderPrefix() { |
|
|
|
|
return this.scriptPlaceholderPrefix; |
|
|
|
|
} |
|
|
|
|
|