FluentMigrator.Tools 6.1.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package FluentMigrator.Tools --version 6.1.0                
NuGet\Install-Package FluentMigrator.Tools -Version 6.1.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.Tools" Version="6.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FluentMigrator.Tools --version 6.1.0                
#r "nuget: FluentMigrator.Tools, 6.1.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.
// Install FluentMigrator.Tools as a Cake Addin
#addin nuget:?package=FluentMigrator.Tools&version=6.1.0

// Install FluentMigrator.Tools as a Cake Tool
#tool nuget:?package=FluentMigrator.Tools&version=6.1.0                

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (8)

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

Package Downloads
BetterCms.Core

Core functionality of the publishing focused and developer friendly .NET Open source CMS.

PeanutButter.FluentMigrator

A generic Migrations Runner for FluentMigrator so you can run in migrations within your application.

EmailSpooler.Win32Service.DB

Use this project to pull in the three required Fluent Migrations to make your database able to store emails that the PeanutButter.EmailSpooler.Win32Service service can spool for you. You will need to inherit from the following migrations and add those inherited versions to your migration strategy: * Migration_1_CreateEmail * Migration_2_CreateEmailRecipient * Migration_3_CreateEmailAttachment

BetterModules.Core

The Core module for BetterModules. BetterModules is modular architecture supporting web based and business logic modules.

Cake.FluentMigrator

FluentMigrator extension for Cake.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on FluentMigrator.Tools:

Repository Stars
devbridge/BetterCMS
A publishing focused and developer friendly .NET Open Source CMS.
Version Downloads Last updated
6.2.0 3,454 10/4/2024
6.1.4 805 10/2/2024
6.1.1 942 10/2/2024
6.1.0 861 10/2/2024
6.0.0 1,265 9/25/2024
5.2.0 12,077 3/28/2024
5.1.0 3,350 2/19/2024
5.0.0 8,810 12/10/2023
3.3.2 50,806 1/14/2022
3.3.1 10,046 9/21/2021
3.3.0 1,198 8/26/2021
3.2.17 3,705 6/17/2021
3.2.16 7,526 5/19/2021
3.2.15 12,249 2/19/2021
3.2.14 7,408 2/19/2021
3.2.11 15,577 1/9/2021
3.2.10 7,373 12/19/2020
3.2.9 9,477 8/25/2020
3.2.8 9,517 7/22/2020
3.2.7 9,326 6/8/2020
3.2.6 9,548 4/11/2020
3.2.1 27,789 4/16/2019 3.2.1 is deprecated because it is no longer maintained.
3.2.0 1,367 4/15/2019
3.1.3 80,339 6/25/2018
3.1.2 1,704 6/21/2018
3.1.1 3,773 6/11/2018
3.1.0 1,680 6/1/2018
3.0.0 2,047 5/7/2018
2.0.7 102,901 4/27/2018
2.0.6 30,642 4/24/2018
2.0.5 2,673 4/23/2018
2.0.3 1,382 4/22/2018
2.0.2 2,696 4/17/2018
2.0.1 1,521 4/16/2018
1.6.2 745,593 5/31/2016
1.6.1 217,175 11/9/2015
1.6.0 71,677 7/13/2015
1.5.1 35,546 4/17/2015
1.5.0 81,053 2/27/2015
1.4.0 15,742 12/31/2014
1.3.1 24,090 11/18/2014
1.3.0 73,304 8/27/2014
1.2.1 13,169 7/12/2014
1.2.0 10,078 6/18/2014
1.1.2.1 49,393 1/1/2014
1.1.2 11,989 12/29/2013
1.1.1 75,512 6/26/2013
1.1.0 13,354 5/5/2013
1.0.6 954,672 12/31/2012
1.0.5 7,321 11/15/2012
1.0.4 3,871 10/27/2012
1.0.3 9,809 7/19/2012
1.0.2 17,464 4/25/2012
1.0.1 9,053 9/5/2011