FluentMigratorHelper
Contains functions to run FluentMigrator
Nested types and modules
Type | Description |
DatabaseConnection |
Database connection configuration |
DatabaseProvider |
Fluent Migrator SQL syntax provider |
DatabaseTask |
Database operation to execute |
MigrationOptions |
Fluent Migrator options |
MigrationRunningMode |
Fluent Migrator execution mode |
OracleVersion |
Oracle database driver version |
SqlServerVersion |
MS SQL Server driver version |
Functions and values
Function or value | Description |
DefaultMigrationOptions
Signature: MigrationOptions
|
Default migration options |
ExecuteDatabaseTask(...)
Signature: task:DatabaseTask -> assemblies:seq<string> -> options:MigrationOptions -> unit
|
Executes the specified task using configuration options Parameters
|
ListAppliedMigrations(...)
Signature: connection:DatabaseConnection -> assemblies:seq<string> -> unit
|
Lists all migrations which were applied to the database
- |
MigrateDown(...)
Signature: version:int64 -> connection:DatabaseConnection -> assemblies:seq<string> -> options:MigrationOptions -> unit
|
Migrates database up to the specified version Parameters
|
MigrateToLatest(...)
Signature: connection:DatabaseConnection -> assemblies:seq<string> -> options:MigrationOptions -> unit
|
Migrates database up to the latest version Parameters
|
MigrateUp(...)
Signature: version:int64 -> connection:DatabaseConnection -> assemblies:seq<string> -> options:MigrationOptions -> unit
|
Migrates database up to the specified version Parameters
|
Rollback(...)
Signature: steps:int -> connection:DatabaseConnection -> assemblies:seq<string> -> options:MigrationOptions -> unit
|
Rollbacks several applied migrations Parameters
|
RollbackLatest(...)
Signature: connection:DatabaseConnection -> assemblies:seq<string> -> options:MigrationOptions -> unit
|
Rollbacks latest applied migration
- |