Flyway Snapshot Build Version Setting
Published 15 January 2025
Description
If snapshot source is "migrations"
, this specifies migration version to migrate the build environment to.
Type
String
Default
none
Usage
Flyway Desktop
This can't be added to a configuration file via Flyway Desktop.
Command-line
./flyway snapshot -source="migrations" -buildVersion="001"
TOML Configuration File
It is unlikely to be desirable to specify this in a config file, but it is possible:
[flyway.snapshot]
buildVersion = [ "001" ]