FlywayConfiguration.

BaselineOnMigrate Property

Summary

Whether to automatically call baseline when migrate is executed against a non-empty schema with no metadata table. (default: false)

This schema will then be initialized with the baselineVersion before executing the migrations. Only migrations above baselineVersion will then be applied. This is useful for initial Flyway production deployments on projects with an existing DB. Be careful when enabling this as it removes the safety net that ensures Flyway does not migrate the wrong database in case of a configuration mistake!
Assembly
Cake.Flyway.dll
Namespace
Cake.Flyway
Containing Type
FlywayConfiguration

Syntax

public Nullable<bool> BaselineOnMigrate { get; set; }

Value

Type Description
Nullable<bool>