Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

MigrationRunningMode

Fluent Migrator execution mode

Union Cases

Union CaseDescription
Execute(connection)
Signature: DatabaseConnection

Execute migrations on the target database

ExecuteAndScript(...)
Signature: DatabaseConnection * string

Execute migrations on the target database and script SQL to the output file

Preview(connection)
Signature: DatabaseConnection

Execute migrations in preview-only mode

Script(...)
Signature: int64 * string * DatabaseProvider

Create migration script