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

Fail On Missing Locations

Description

Whether to fail if a location specified in the locations option doesn’t exist.

Default

false

Usage

Commandline

./flyway -failOnMissingLocations="true" migrate

Configuration File

flyway.failOnMissingLocations=true

Environment Variable

FLYWAY_FAIL_ON_MISSING_LOCATIONS=true

API

Flyway.configure()
    .failOnMissingLocations(true)
    .load()

Gradle

flyway {
    failOnMissingLocations = true
}

Maven

<configuration>
    <failOnMissingLocations>true</failOnMissingLocations>
</configuration>