FluentMigrator.DotNet.Cli 6.2.0

Prefix Reserved

Requires NuGet 3.5 or higher.

dotnet tool install --global FluentMigrator.DotNet.Cli --version 6.2.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local FluentMigrator.DotNet.Cli --version 6.2.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FluentMigrator.DotNet.Cli&version=6.2.0                
nuke :add-package FluentMigrator.DotNet.Cli --version 6.2.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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
6.2.0 24,309 10/4/2024
6.1.4 2,453 10/2/2024
6.1.1 820 10/2/2024
6.1.0 511 10/2/2024
6.0.0 6,374 9/25/2024
5.2.0 112,223 3/28/2024
5.1.0 25,057 2/19/2024
5.0.0 35,971 12/10/2023
3.3.2 395,597 1/14/2022
3.3.1 52,352 9/21/2021
3.3.0 10,994 8/26/2021
3.2.17 35,344 6/17/2021
3.2.16 8,100 5/19/2021
3.2.15 22,558 2/19/2021
3.2.14 455 2/19/2021
3.2.11 11,787 1/9/2021
3.2.10 3,107 12/19/2020
3.2.9 29,175 8/25/2020
3.2.8 8,887 7/22/2020
3.2.7 10,474 6/8/2020
3.2.6 33,578 4/11/2020
3.2.1 70,595 4/16/2019
3.2.0 1,086 4/15/2019
3.1.3 16,940 6/25/2018
3.1.2 1,099 6/21/2018
3.1.1 1,263 6/11/2018
3.1.0 1,253 6/1/2018
3.0.0 1,111 5/7/2018
2.0.7 1,233 4/27/2018
2.0.6 945 4/24/2018
2.0.5 2,023 4/23/2018
2.0.4 864 4/23/2018
2.0.3 1,018 4/22/2018
2.0.2 952 4/17/2018
2.0.1 1,081 4/16/2018
2.0.0 1,277 4/15/2018

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