pgroll
7.3#3 in database migration toolsFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | pgroll | sqlx-cli |
|---|---|---|
| Database support | PostgreSQL 14 and later; hosted and self-managed services | Its default installation supports the databases supported by SQLx; installation options include PostgreSQL-only and SQLite-specific configurations. |
| Installation | Distributed as a single Go binary via Homebrew, Go install, or binaries | The CLI can be installed with `cargo install sqlx-cli`. |
| License | Apache 2.0 open-source license | The SQLx repository lists Apache-2.0 and MIT license files. |
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.
sqlx-cli suits developers using SQLx who need to manage databases and migrations or keep query-macro metadata available for offline builds. Its metadata check is also relevant to teams running CI.