Clean Disabled
Published 31 October 2023
Clean Disabled
Description
Whether to disable clean. This is especially useful for production environments where running clean can be a career limiting move. Set to false
to allow clean
to execute.
Default
true
Usage
Commandline
./flyway -cleanDisabled="false" clean
TOML Configuration File
[flyway]
cleanDisabled = false
Configuration File
flyway.cleanDisabled=false
Environment Variable
FLYWAY_CLEAN_DISABLED=false
API
Flyway.configure()
.cleanDisabled(false)
.load()
Gradle
flyway {
cleanDisabled = false
}
Maven
<configuration>
<cleanDisabled>false</cleanDisabled>
</configuration>