FluentMigrator.Tools
6.2.0
Prefix Reserved
dotnet add package FluentMigrator.Tools --version 6.2.0
NuGet\Install-Package FluentMigrator.Tools -Version 6.2.0
<PackageReference Include="FluentMigrator.Tools" Version="6.2.0" />
paket add FluentMigrator.Tools --version 6.2.0
#r "nuget: FluentMigrator.Tools, 6.2.0"
// Install FluentMigrator.Tools as a Cake Addin #addin nuget:?package=FluentMigrator.Tools&version=6.2.0 // Install FluentMigrator.Tools as a Cake Tool #tool nuget:?package=FluentMigrator.Tools&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 (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 | 2,460 | 10/4/2024 | |
6.1.4 | 704 | 10/2/2024 | |
6.1.1 | 753 | 10/2/2024 | |
6.1.0 | 753 | 10/2/2024 | |
6.0.0 | 1,148 | 9/25/2024 | |
5.2.0 | 11,057 | 3/28/2024 | |
5.1.0 | 3,193 | 2/19/2024 | |
5.0.0 | 8,593 | 12/10/2023 | |
3.3.2 | 50,258 | 1/14/2022 | |
3.3.1 | 9,943 | 9/21/2021 | |
3.3.0 | 1,178 | 8/26/2021 | |
3.2.17 | 3,648 | 6/17/2021 | |
3.2.16 | 7,405 | 5/19/2021 | |
3.2.15 | 12,044 | 2/19/2021 | |
3.2.14 | 7,321 | 2/19/2021 | |
3.2.11 | 15,308 | 1/9/2021 | |
3.2.10 | 7,193 | 12/19/2020 | |
3.2.9 | 9,352 | 8/25/2020 | |
3.2.8 | 9,499 | 7/22/2020 | |
3.2.7 | 9,284 | 6/8/2020 | |
3.2.6 | 9,424 | 4/11/2020 | |
3.2.1 | 27,562 | 4/16/2019 | |
3.2.0 | 1,342 | 4/15/2019 | |
3.1.3 | 79,571 | 6/25/2018 | |
3.1.2 | 1,688 | 6/21/2018 | |
3.1.1 | 3,689 | 6/11/2018 | |
3.1.0 | 1,656 | 6/1/2018 | |
3.0.0 | 2,033 | 5/7/2018 | |
2.0.7 | 99,802 | 4/27/2018 | |
2.0.6 | 29,645 | 4/24/2018 | |
2.0.5 | 2,623 | 4/23/2018 | |
2.0.3 | 1,375 | 4/22/2018 | |
2.0.2 | 2,690 | 4/17/2018 | |
2.0.1 | 1,515 | 4/16/2018 | |
1.6.2 | 742,576 | 5/31/2016 | |
1.6.1 | 216,336 | 11/9/2015 | |
1.6.0 | 71,008 | 7/13/2015 | |
1.5.1 | 35,448 | 4/17/2015 | |
1.5.0 | 80,316 | 2/27/2015 | |
1.4.0 | 15,713 | 12/31/2014 | |
1.3.1 | 24,003 | 11/18/2014 | |
1.3.0 | 73,143 | 8/27/2014 | |
1.2.1 | 13,130 | 7/12/2014 | |
1.2.0 | 10,029 | 6/18/2014 | |
1.1.2.1 | 49,353 | 1/1/2014 | |
1.1.2 | 11,941 | 12/29/2013 | |
1.1.1 | 75,188 | 6/26/2013 | |
1.1.0 | 13,328 | 5/5/2013 | |
1.0.6 | 954,037 | 12/31/2012 | |
1.0.5 | 7,307 | 11/15/2012 | |
1.0.4 | 3,848 | 10/27/2012 | |
1.0.3 | 9,794 | 7/19/2012 | |
1.0.2 | 17,256 | 4/25/2012 | |
1.0.1 | 9,042 | 9/5/2011 |