Whether to disable clean. This is especially useful for production environments where running clean can be quite a career limiting move.
false
./flyway -cleanDisabled="true" clean
flyway.cleanDisabled=true
FLYWAY_CLEAN_DISABLED=true
Flyway.configure()
.cleanDisabled(true)
.load()
flyway {
cleanDisabled = true
}
<configuration>
<cleanDisabled>true</cleanDisabled>
</configuration>