Flyway Out Of Order Setting
Published 15 January 2025
Description
Allows migrations to be run "out of order".
If you already have versions 1.0
and 3.0
applied, and now a version
2.0
is found, it will be applied too instead of being ignored.
Note:
- This parameter has no impact on Undo operation.
Type
Boolean
Default
false
Usage
Flyway Desktop
This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.
Command-line
./flyway -outOfOrder="true" info
TOML Configuration File
[flyway]
outOfOrder = true
Configuration File
flyway.outOfOrder=true
Environment Variable
FLYWAY_OUT_OF_ORDER=true
API
Flyway.configure()
.outOfOrder(true)
.load()
Gradle
flyway {
outOfOrder = true
}
Maven
<configuration>
<outOfOrder>true</outOfOrder>
</configuration>