Group
Published 31 October 2023
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.
- This parameter does not apply to callbacks, which cannot be included in the same transaction.
- This parameter does not apply to Native Connectors, as they do not support transactions.
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>