Resolver

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

Using TOML configuration file

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

Using conf file

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

TOML Configuration File

[flyway]
migrationResolvers = ["my.resolver.MigrationResolver"]

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>

Didn't find what you were looking for?