FlywayRunnerAliases.

FlywayBaseline(ICakeContext, FlywayBaselineSettings) Method

Summary

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

Syntax

public static void FlywayBaseline(this ICakeContext context, FlywayBaselineSettings settings = null)

Examples

Run 'flyway baseline'

Task("Flyway-Baseline)
    .Does(() =>
    {
        FlywayBaseline();
    });

Run 'flyway baseline'

Task("Flyway-Baseline)
    .Does(() =>
    {
        FlywayBaseline(new FlywayBaselineSettings
            {
                Configuration = new FlywayConfiguration
                {
                    BaselineVersion = "1.0.0.0"
                }
            }
        );
    });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext
settings FlywayBaselineSettings

Return Value

Type Description
void