FluentMigrator vs node-pg-migrate
FluentMigrator
fluentmigrator.github.ionode-pg-migrate
salsita.github.ioSide by side
| Figure | FluentMigrator | node-pg-migrate |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · Database Migration Tools | 8.2 (#10) | 7.3 (#25) |
| Distribution | The repository says releases are stored on NuGet and prerelease CI builds on Azure Artifacts. | The project is released under the MIT License. |
| License | The project is released under the Apache-2.0 License. | The project is released under the MIT License. |
| Purpose | FluentMigrator is a .NET framework for managing database schema changes through version-controlled C# migrations. | node-pg-migrate manages database migrations for PostgreSQL from Node.js. |
| Requirements | The quick start lists .NET 8.0 or later, a supported database, and basic C# and database knowledge as prerequisites. | The documented prerequisites are Node.js 22.12.0 or higher and PostgreSQL 14 or higher; lower PostgreSQL versions are not officially supported. |
| Rollback | Migrations can define Up and Down methods to apply or roll back changes. | Reversible operations can have their down migrations inferred when a migration omits down. |
Plans
In their own words
FluentMigrator
FluentMigrator is a free .NET framework for managing database schema changes with version-controlled C# migrations. Its fluent C# API defines Up and Down methods for applying changes and rolling them back. The project lists providers for SQL Server, PostgreSQL, MySQL, SQLite, and Oracle, among others; provider packages are selected separately. Migrations can run inside an application, with the Migrate.exe console tool, or through dotnet-fm, which integrates with the cross-platform .NET CLI. By default, FluentMigrator creates a VersionInfo table to record completed migrations. Command-line runners can preview generated SQL without executing it, and the CLI can validate migrations before execution. The project documents .NET dependency injection integration and CI/CD examples for GitHub Actions, Azure DevOps, and Jenkins. The Quick Start calls for .NET 8.0 or later, a supported database, and basic C# and database knowledge. FluentMigrator is released under the Apache-2.0 License, with releases distributed through NuGet.
node-pg-migrate
node-pg-migrate has no write-up on Specifiction yet; its figures are above.