FluentMigrator.Console 6.1.1

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

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

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 (2)

Showing the top 2 NuGet packages that depend on FluentMigrator.Console:

Package Downloads
Alt.FluentMigrator.VStudio

Adds commands to use FluentMigrator in VisualStudio from package manager console.

Cql.FluentMigrator.Extensions

A library of extension methods to facilitate the CQL workflow when using FluentMigrator for database migrations.

GitHub repositories (1)

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

Repository Stars
VocaDB/vocadb
VocaDB is a Vocaloid Database with translated artists, albums, music videos and more.
Version Downloads Last updated
6.2.0 14,237 10/4/2024
6.1.4 1,063 10/2/2024
6.1.1 943 10/2/2024
6.1.0 269 10/1/2024
6.0.0 3,478 9/25/2024
5.2.0 78,798 3/28/2024
5.1.0 23,337 2/19/2024
5.0.0 45,358 12/10/2023
3.3.2 403,549 1/14/2022
3.3.1 40,225 9/21/2021
3.3.0 3,580 8/26/2021
3.2.17 97,343 6/17/2021
3.2.16 18,562 5/19/2021
3.2.15 55,019 2/19/2021
3.2.14 4,544 2/19/2021
3.2.11 48,775 1/9/2021
3.2.10 5,843 12/19/2020
3.2.9 151,352 8/25/2020
3.2.8 22,587 7/22/2020
3.2.7 34,432 6/8/2020
3.2.6 94,334 4/11/2020
3.2.1 250,390 4/16/2019
3.2.0 6,367 4/15/2019
3.1.3 125,695 6/25/2018
3.1.2 1,414 6/21/2018
3.1.1 2,920 6/11/2018
3.1.0 4,105 6/1/2018
3.0.0 5,605 5/7/2018
2.0.7 191,640 4/27/2018
2.0.6 8,628 4/24/2018
2.0.5 2,574 4/23/2018
2.0.3 1,386 4/22/2018
2.0.2 83,878 4/17/2018
2.0.1 1,422 4/16/2018
2.0.0 1,833 4/15/2018