New! – Try automated migration testing Learn more

Flyway Documentation

Poll

Upgrading to Flyway Teams

This article assumes you are a proud owner of a Flyway Teams license. If you are not, head over to the download/pricing page to purchase a license or start a free trial.

Upgrading from Community

If you are currently using Flyway Community and have obtained a Flyway Teams license, please see license key to read about where to configure this License Key.

Command Line

If you are using the command line, simply provide your license key through any of the supported methods.

For example:

./flyway -licenseKey=FL01... info

API

If you are using the API, simply swap your dependency from org.flywaydb.flyway to org.flywaydb.flyway.enterprise. Then provide your license key through any of the supported methods.

For example:

// gradle
dependencies {
    compile 'org.flywaydb.enterprise:flyway-core:8.5.13'
}

// code
Flyway flyway = Flyway.configure()
    .licenseKey("FL01...")
    .load();
flyway.info();

Gradle

If you are using the Gradle plugin, swap the plugin dependency from id "org.flywaydb.flyway" version "8.5.13" to id "org.flywaydb.flyway.enterprise" version "8.5.13". Then provide your license key(/documentation/configuration/parameters/licenseKey) through any of the supported methods.

For example:

plugins {
    id "org.flywaydb.flyway.enterprise" version "8.5.13"
}

flyway {
    licenseKey = 'FL01...'
}

Maven

If you are using the Maven plugin, swap the plugin dependency from <groupId>org.flywaydb</groupId> to <groupId>org.flywaydb.enterprise</groupId>. Then provide your license key through any of the supported methods.

For example:

<plugin>
    <groupId>org.flywaydb.enterprise</groupId>
    <artifactId>flyway-maven-plugin</artifactId>
    <version>7.0.0</version>

    <configuration>
        <licenseKey>FL01...</licenseKey>
    </configuration>
</plugin>

New Features

Now that you are using the Teams edition of Flyway, you can take advantage of all the powerful new features at your disposal:

… and much more. See parameters for all the Teams configuration parameters.