This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Flyway.
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 |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | |
settings | Flyway |
Return Value
Type | Description |
---|---|
void |