Want more control over your database deployments? – Find out how with Carlos Robles at Redgate Summit Register now

Flyway Documentation

Validate On Migrate

Description

Whether to automatically call validate or not when running migrate.

Default

true

Usage

Commandline

./flyway -validateOnMigrate="false" migrate

Configuration File

flyway.validateOnMigrate=false

Environment Variable

FLYWAY_VALIDATE_ON_MIGRATE=false

API

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

Gradle

flyway {
    validateOnMigrate = false
}

Maven

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