Redgate Flyway

Flyway Snapshot Build Version Setting

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" ]

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?