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 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 |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | |
settings | Flyway |
Return Value
Type | Description |
---|---|
void |