Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Diff Build Version Setting

Description

If diff source or diff target 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 diff -source="schemaModel" -target="migrations" -buildVersion="001"

TOML Configuration File

It is unlikely to be desirable to specify this in a config file, but it is possible:

[flyway.diff]
buildVersion = [ "001" ]

Didn't find what you were looking for?