Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

This documentation is deprecated. The new documentation can now be found on documentation.red-gate.com

Poll

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>