FluentMigrator.Console
6.2.0
Prefix Reserved
dotnet add package FluentMigrator.Console --version 6.2.0
NuGet\Install-Package FluentMigrator.Console -Version 6.2.0
<PackageReference Include="FluentMigrator.Console" Version="6.2.0" />
paket add FluentMigrator.Console --version 6.2.0
#r "nuget: FluentMigrator.Console, 6.2.0"
// Install FluentMigrator.Console as a Cake Addin #addin nuget:?package=FluentMigrator.Console&version=6.2.0 // Install FluentMigrator.Console as a Cake Tool #tool nuget:?package=FluentMigrator.Console&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.
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 | 13,129 | 10/4/2024 |
6.1.4 | 982 | 10/2/2024 |
6.1.1 | 870 | 10/2/2024 |
6.1.0 | 260 | 10/1/2024 |
6.0.0 | 3,385 | 9/25/2024 |
5.2.0 | 77,524 | 3/28/2024 |
5.1.0 | 23,160 | 2/19/2024 |
5.0.0 | 45,085 | 12/10/2023 |
3.3.2 | 403,132 | 1/14/2022 |
3.3.1 | 40,085 | 9/21/2021 |
3.3.0 | 3,572 | 8/26/2021 |
3.2.17 | 97,169 | 6/17/2021 |
3.2.16 | 18,554 | 5/19/2021 |
3.2.15 | 54,898 | 2/19/2021 |
3.2.14 | 4,537 | 2/19/2021 |
3.2.11 | 48,717 | 1/9/2021 |
3.2.10 | 5,836 | 12/19/2020 |
3.2.9 | 151,151 | 8/25/2020 |
3.2.8 | 22,559 | 7/22/2020 |
3.2.7 | 34,290 | 6/8/2020 |
3.2.6 | 94,245 | 4/11/2020 |
3.2.1 | 250,016 | 4/16/2019 |
3.2.0 | 6,292 | 4/15/2019 |
3.1.3 | 125,642 | 6/25/2018 |
3.1.2 | 1,407 | 6/21/2018 |
3.1.1 | 2,913 | 6/11/2018 |
3.1.0 | 4,098 | 6/1/2018 |
3.0.0 | 5,557 | 5/7/2018 |
2.0.7 | 191,163 | 4/27/2018 |
2.0.6 | 8,590 | 4/24/2018 |
2.0.5 | 2,550 | 4/23/2018 |
2.0.3 | 1,384 | 4/22/2018 |
2.0.2 | 83,775 | 4/17/2018 |
2.0.1 | 1,420 | 4/16/2018 |
2.0.0 | 1,831 | 4/15/2018 |