Back to Flyway

Flyway Validate On Migrate Setting

documentation/Reference/Configuration/Flyway Namespace/Flyway Validate On Migrate Setting.md

latest718 B
Original Source

Description

Whether to automatically call validate or not when running migrate.

Type

Boolean

Default

true

Usage

Command-line

powershell
./flyway -validateOnMigrate="false" migrate

TOML Configuration File

toml
[flyway]
validateOnMigrate = false

Configuration File

properties
flyway.validateOnMigrate=false

Environment Variable

properties
FLYWAY_VALIDATE_ON_MIGRATE=false

API

java
Flyway.configure()
    .validateOnMigrate(false)
    .load()

Gradle

groovy
flyway {
    validateOnMigrate = false
}

Maven

xml
<configuration>
    <validateOnMigrate>false</validateOnMigrate>
</configuration>