Redgate Flyway

Flyway Group Setting

Description

Whether to group all pending migrations together in the same transaction when applying them (only recommended for databases with support for DDL transactions)

Note:

Type

Boolean

Default

false

Usage

Flyway Desktop

This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.

Command-line

./flyway -group="true" info

TOML Configuration File

[flyway]
group = true

Configuration File

flyway.group=true

Environment Variable

FLYWAY_GROUP=true

API

Flyway.configure()
    .group(true)
    .load()

Gradle

flyway {
    group = true
}

Maven

<configuration>
  <group>true</group>
</configuration>

Didn't find what you were looking for?