Redgate Flyway

Flyway Validate On Migrate Setting

Description

Whether to automatically call validate or not when running migrate.

Type

Boolean

Default

true

Usage

Command-line

./flyway -validateOnMigrate="false" migrate

TOML Configuration File

[flyway]
validateOnMigrate = false

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>

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?