Group

Group

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: If executeInTransaction is set to false, this parameter will have no impact.

Default

false

Usage

Commandline

./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?