Flyway Diff Build Environment Setting
Published 15 January 2025
Description
If diff source or diff target is migrations, this specifies the environment to use as the build environment. Must match the id of an environment specified in environments.
Type
String
Default
none - this is a required parameter when source or target of diff
command is migrations
Usage
Flyway Desktop
This can't be added to a configuration file via Flyway Desktop.
Command-line
./flyway diff -source="schemaModel" -target="migrations" -buildEnvironment="shadow"
TOML Configuration File
[flyway.diff]
buildEnvironment = "shadow"