FluentMigrator.Tools
6.1.0
Prefix Reserved
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
<PackageReference Include="FluentMigrator.Tools" Version="6.1.0" />
paket add FluentMigrator.Tools --version 6.1.0
#r "nuget: FluentMigrator.Tools, 6.1.0"
// 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.
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 | 1,648 | 10/4/2024 | |
6.1.4 | 521 | 10/2/2024 | |
6.1.1 | 557 | 10/2/2024 | |
6.1.0 | 563 | 10/2/2024 | |
6.0.0 | 855 | 9/25/2024 | |
5.2.0 | 10,039 | 3/28/2024 | |
5.1.0 | 3,010 | 2/19/2024 | |
5.0.0 | 8,362 | 12/10/2023 | |
3.3.2 | 49,670 | 1/14/2022 | |
3.3.1 | 9,896 | 9/21/2021 | |
3.3.0 | 1,153 | 8/26/2021 | |
3.2.17 | 3,527 | 6/17/2021 | |
3.2.16 | 7,214 | 5/19/2021 | |
3.2.15 | 11,838 | 2/19/2021 | |
3.2.14 | 7,153 | 2/19/2021 | |
3.2.11 | 15,054 | 1/9/2021 | |
3.2.10 | 7,028 | 12/19/2020 | |
3.2.9 | 9,217 | 8/25/2020 | |
3.2.8 | 9,484 | 7/22/2020 | |
3.2.7 | 9,259 | 6/8/2020 | |
3.2.6 | 9,272 | 4/11/2020 | |
3.2.1 | 27,538 | 4/16/2019 | |
3.2.0 | 1,320 | 4/15/2019 | |
3.1.3 | 78,795 | 6/25/2018 | |
3.1.2 | 1,673 | 6/21/2018 | |
3.1.1 | 3,594 | 6/11/2018 | |
3.1.0 | 1,634 | 6/1/2018 | |
3.0.0 | 2,014 | 5/7/2018 | |
2.0.7 | 96,980 | 4/27/2018 | |
2.0.6 | 28,518 | 4/24/2018 | |
2.0.5 | 2,565 | 4/23/2018 | |
2.0.3 | 1,368 | 4/22/2018 | |
2.0.2 | 2,685 | 4/17/2018 | |
2.0.1 | 1,508 | 4/16/2018 | |
1.6.2 | 739,791 | 5/31/2016 | |
1.6.1 | 215,675 | 11/9/2015 | |
1.6.0 | 70,382 | 7/13/2015 | |
1.5.1 | 35,352 | 4/17/2015 | |
1.5.0 | 79,430 | 2/27/2015 | |
1.4.0 | 15,669 | 12/31/2014 | |
1.3.1 | 23,951 | 11/18/2014 | |
1.3.0 | 73,037 | 8/27/2014 | |
1.2.1 | 13,094 | 7/12/2014 | |
1.2.0 | 9,991 | 6/18/2014 | |
1.1.2.1 | 49,199 | 1/1/2014 | |
1.1.2 | 11,928 | 12/29/2013 | |
1.1.1 | 74,989 | 6/26/2013 | |
1.1.0 | 13,286 | 5/5/2013 | |
1.0.6 | 953,131 | 12/31/2012 | |
1.0.5 | 7,285 | 11/15/2012 | |
1.0.4 | 3,800 | 10/27/2012 | |
1.0.3 | 9,764 | 7/19/2012 | |
1.0.2 | 17,128 | 4/25/2012 | |
1.0.1 | 9,028 | 9/5/2011 |