pgroll
7.3#3 in database migration toolsFree planFree planLinuxmacOSSelf-hostedWindows
Visit
| Fact | pgroll | sqldef |
|---|---|---|
| License | The repository is licensed under Apache License 2.0. | The sqldef source files are distributed under the MIT License, while the parser is distributed under Apache License 2.0. |
| Platforms | Prebuilt binaries are available for Linux, macOS, and Windows; installation is also documented through Homebrew and from source. | The releases page lists downloadable binaries for Windows, macOS (Darwin), and Linux. |
| Purpose | pgroll is an open-source command-line tool for safe, reversible PostgreSQL schema migrations that keep multiple schema versions available simultaneously. | sqldef is a CLI tool for diffing SQL schemas and managing RDBMS migrations with regular SQL DDLs. |
No prices published.
pgroll suits developers managing PostgreSQL schema changes who want old and new versions to coexist during application rollout. Teams using PostgreSQL 14 with row-level security should weigh its documented limitation.
sqldef suits people managing database schemas through a complete SQL schema file, especially when they want migration previews or offline comparisons. Its listed databases include MySQL, PostgreSQL, SQL Server, and SQLite3.