Skip to content
A set of aliases for Cake to run Flyway commands
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nuspec/nuget
src
tools
.appveyor.yml
.gitattributes
.gitignore
LICENSE
README.md
build.ps1
cake.config
setup.cake

README.md

Cake.Flyway

A set of aliases for Cake to run Flyway commands

Information

Build Status

Branch Status
Master Build status
Develop Build status

Code Coverage

Branch codecov
Master codecov
Develop codecov

Nuget

NuGet

Licence

License

Usage

Build the Cake.Flyway.dll then use as follows

    #addin "Cake.Flyway"

    Task("Flyway")
        .Does(() => {
            // new Flyway configuration
            var configuration = new FlywayConfiguration {
                Url = "jdbc:sqlserver:////<host>:<port>;databaseName=<database>",
                User = "<user>",
                Password = "<password>"
            }

            // flyway info
            Flyway.Info(configuration);

            // flyway migrate
            Flyway.Migrate(configuration);
        });

Scope

Cake.Flyway currently supports the following commands of Flyway v4.2.0:

  • flyway migrate
  • flyway clean
  • flaway info
  • flaway validate
  • flyway baseline
  • flaway repair

The Flyway Pro features of version 5 are currently not supported.

You can’t perform that action at this time.