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

Resolver

Description

Comma-separated list of fully qualified class names of custom MigrationResolver implementations to be used in addition to the built-in ones for resolving Migrations to apply.

You must ensure that the resolver is available on the classpath (see Adding to the classpath).

Usage

Commandline

./flyway -resolvers="my.resolver.MigrationResolver" info

Configuration File

flyway.resolvers=my.resolver.MigrationResolver

Environment Variable

FLYWAY_RESOLVERS=my.resolver.MigrationResolver

API

Flyway.configure()
    .resolvers("my.resolver.MigrationResolver")
    .load()

Gradle

flyway {
    resolvers = 'my.resolver.MigrationResolver'
}

Maven

<configuration>
    <resolvers>my.resolver.MigrationResolver</resolvers>
</configuration>