New! – Spin up instant copies of your dev databases in the cloud for free Learn more

Flyway Documentation

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>