FluentMigrator.Runner 7.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.5 or higher.

dotnet add package FluentMigrator.Runner --version 7.0.0
                    
NuGet\Install-Package FluentMigrator.Runner -Version 7.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FluentMigrator.Runner" Version="7.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluentMigrator.Runner" Version="7.0.0" />
                    
Directory.Packages.props
<PackageReference Include="FluentMigrator.Runner" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FluentMigrator.Runner --version 7.0.0
                    
#r "nuget: FluentMigrator.Runner, 7.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=FluentMigrator.Runner&version=7.0.0
                    
Install FluentMigrator.Runner as a Cake Addin
#tool nuget:?package=FluentMigrator.Runner&version=7.0.0
                    
Install FluentMigrator.Runner as a Cake Tool

FluentMigrator

FluentMigrator is a an open-source .NET library that allows you to manage and version database schema changes using a code-first approach. With FluentMigrator, you can define database migrations as code rather than maintaining SQL scripts or using other tools.

Some key features of FluentMigrator include:

  • Code-based Migrations: You define database migrations as C# or VB.NET classes, making it easier to version control and maintain your schema changes.
  • Fluent Interface: FluentMigrator provides a fluent interface for defining database objects like tables, columns, indexes, and constraints, making the code more readable and expressive.
  • Cross-platform: FluentMigrator supports multiple databases, including SQL Server, PostgreSQL, MySQL, Oracle, and SQLite.
  • Rollback Support: FluentMigrator allows you to roll back migrations, making it easier to undo changes or revert to a previous database state.
  • Extensibility: You can create your own custom migrations, conventions, and processors to extend FluentMigrator's functionality.

Getting Started

For a brief overview on getting started with FluentMigrator, please see the documentation links here:

Installation

You can install FluentMigrator via NuGet:

Install-Package FluentMigrator

Usage

FluentMigrator example migration and usage:

[Migration(202401011200)]
public class CreatePersonTable : Migration
{
    public override void Up()
    {
        Create.Table("People")
            .WithColumn("Id").AsGuid().PrimaryKey()
            .WithColumn("Name").AsString(100).NotNullable()
            .WithColumn("Email").AsString(200).Nullable();
    }

    public override void Down()
    {
        Delete.Table("People");
    }
}

For more detailed documentation and examples, please refer to [link to your comprehensive documentation].

Feedback and Contributing

We welcome your feedback, bug reports, and contributions to FluentMigrator.

  • To report a bug or request a feature, please open an issue on our GitHub repository.

If you'd like to contribute to the project, please follow our contributing guidelines.

License

FluentMigrator is released under the Apache license. See the LICENSE file for more details.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (113)

Showing the top 5 NuGet packages that depend on FluentMigrator.Runner:

Package Downloads
Shesha.NHibernate

Package Description

Shesha.FluentMigrator

Package Description

HQ

This package contains the full-stack build for HQ.io.

Miru

Package Description

Tofi.Framework.Data

Package Description

GitHub repositories (15)

Showing the top 15 popular GitHub repositories that depend on FluentMigrator.Runner:

Repository Stars
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
nopSolutions/nopCommerce
ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
elsa-workflows/elsa-core
A .NET workflows library
serenity-is/Serenity
Business Apps Made Simple with Asp.Net Core MVC / TypeScript
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
optimajet/WorkflowEngine.NET
WorkflowEngine.NET - component that adds workflow in your application. It can be fully integrated into your application, or be in the form of a specific service (such as a web service).
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
bonesoul/CoiniumServ
Next-gen crypto currency mining pool software
itlibrium/DDD-starter-dotnet
Sample implementation and comparison of various approaches to building DDD applications. Useful as a baseline to quickly start a DDD dot net project.
lamondlu/CoolCat
A sample about how to create a dynamic plugins mechanism with ASP.NET Core Mvc at runtime. This sample is based on .NET Core 3.1 and .NET 5
mregni/EmbyStat
Multiplatform statistics server for Emby server
Universalis-FFXIV/Universalis
A crowdsourced market board API for FFXIV.
fluffynuts/PeanutButter
Tasty, versatile, nutritious; goes with many things in .net.
sunengine/SunEngine
SunEngine – site engine with blog, forum and articles sections features support.
anuviswan/LearningPoint
A repository for learning different technologies, frameworks, features......
Version Downloads Last updated
7.1.0 13,503 3/29/2025
7.0.0 12,344 3/19/2025
6.2.0 1,022,539 10/4/2024
6.1.4 4,584 10/2/2024
6.1.1 11,230 10/2/2024
6.1.0 894 10/2/2024
6.0.0 26,869 9/25/2024
5.2.0 1,802,466 3/28/2024
5.1.0 323,691 2/19/2024
5.0.0 658,472 12/10/2023
3.3.2 7,709,089 1/14/2022
3.3.1 1,570,592 9/21/2021
3.3.0 375,169 8/26/2021
3.2.17 980,917 6/17/2021
3.2.16 432,139 5/19/2021
3.2.15 1,275,353 2/19/2021
3.2.14 1,032 2/19/2021
3.2.11 383,645 1/9/2021
3.2.10 71,600 12/19/2020
3.2.9 1,791,580 8/25/2020
3.2.8 199,785 7/22/2020
3.2.7 603,871 6/8/2020
3.2.6 729,101 4/11/2020
3.2.1 3,483,954 4/16/2019
3.2.0 4,815 4/15/2019
3.1.3 1,279,143 6/25/2018
3.1.2 3,872 6/21/2018
3.1.1 18,590 6/11/2018
3.1.0 3,646 6/1/2018
3.0.0 65,271 5/7/2018
2.0.7 390,505 4/27/2018
2.0.6 27,801 4/24/2018
2.0.5 3,778 4/23/2018
2.0.4 1,609 4/23/2018
2.0.3 1,938 4/22/2018
2.0.2 107,384 4/17/2018
2.0.1 3,166 4/16/2018
2.0.0 9,231 4/15/2018
1.6.2 1,642,196 5/31/2016
1.6.1 366,169 11/9/2015
1.6.0 153,771 7/13/2015
1.5.1 64,874 4/17/2015
1.5.0 44,281 2/27/2015
1.4.0 44,392 12/31/2014
1.3.1 16,769 11/18/2014
1.3.0 63,001 8/27/2014
1.2.1 12,416 7/12/2014
1.1.1.33 9,963 6/21/2014
1.1.1.26 41,417 1/4/2014
1.1.1.15 24,074 8/16/2013

Use of standard dependency injection, configuration and logging libraries.
Simplification of in-process runner configuration and instantiation.
Minimum .NET Framework version is 4.8, see https://aka.ms/msbuild/developerpacks for more information.

Details: https://github.com/fluentmigrator/fluentmigrator/releases