FlywayRunnerAliases.

FlywayMigrate(ICakeContext, FlywayMigrateSettings) Method

Summary

Execute 'flyway migrate' with options
Assembly
Cake.Flyway.dll
Namespace
Cake.Flyway
Containing Type
FlywayRunnerAliases

Syntax

public static void FlywayMigrate(this ICakeContext context, FlywayMigrateSettings settings = null)

Examples

Run 'flyway migrate'

Task("Flyway-Migrate)
    .Does(() =>
    {
        FlywayMigrate();
    });

Run 'flyway migrate'

Task("Flyway-Migrate)
    .Does(() =>
    {
        FlywayMigrate(new FlywayMigrateSettings
            {
                Configuration = new FlywayConfiguration
                {
                    OutOfOrder = true
                }
            }
        );
    });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext
settings FlywayMigrateSettings

Return Value

Type Description
void