Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Tags All Of Setting

  • Status: Preview

Flyway Enterprise

Description

A tag condition containing a list of tags to filter migrations by, if specified. A migration's tags must contain all the given tags in allOf in order for the migration to be selected. When this option is combined with anyOf or noneOf, then a migration must meet all conditions to be selected.

Example:

[flyway.tags.definitions]
"0.1" = ["tagA"]
"0.2" = ["tagB"]
"0.3" = ["tagC", "tagB"]

Specifying the condition -tags.allOf=tagB,tagC would select only version 0.3.

Type

String array

Default

none

Usage

Flyway Desktop

This can't be added to a configuration file via Flyway Desktop.

Command-line

./flyway "-tags.allOf=tagA,tagB,tagC" info

TOML Configuration File

[flyway.tags]
allOf = ["tagA", "tagB", "tagC"]

Didn't find what you were looking for?