FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
Requires NuGet 3.5 or higher.
Install-Package FluentMigrator.Abstractions -Version 3.2.1
dotnet add package FluentMigrator.Abstractions --version 3.2.1
<PackageReference Include="FluentMigrator.Abstractions" Version="3.2.1" />
paket add FluentMigrator.Abstractions --version 3.2.1
Use of standard dependency injection, configuration and logging libraries.
Simplification of in-process runner configuration and instantiation.
dotnet-fm is now a global .NET Core 2.1 tool.
Minimum .NET Framework version is 4.6.1.