Flyway Prepare Target Setting
Published 15 January 2025
Description
The target environment to deploy to. Must match the id of an environment specified in environments.
Type
String
Default
none - if prepare.source
or prepare.target
are not set the
prepare
command will run against a diff artifact
Usage
Flyway Desktop
This can't be added to a configuration file via Flyway Desktop.
Command-line
./flyway prepare -source="schemaModel" -target="production"
TOML Configuration File
[flyway.prepare]
target = "production"