FlywayRunnerAliases.

FlywayValidate(ICakeContext, FlywayValidateSettings) Method

Summary

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

Syntax

public static void FlywayValidate(this ICakeContext context, FlywayValidateSettings settings = null)

Examples

Run 'flyway validate'

Task("Flyway-Validate)
    .Does(() =>
    {
        FlywayValidate();
    });

Run 'flyway validate'

Task("Flyway-Validate)
    .Does(() =>
    {
        FlywayValidate(new FlywayValidateSettings
            {
                Configuration = new FlywayConfiguration
                {
                    OutOfOrder = true
                }
            }
        );
    });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext
settings FlywayValidateSettings

Return Value

Type Description
void