EVERYTHING XIAOMI
Get listed
Side by side

pgroll vs sqlx-cli

pgroll

7.3#3 in database migration toolsFree plan
Free planLinuxmacOSSelf-hostedWindows
Visit

sqlx-cli

6.6#11 in database migration toolsFree plan
Free planLinuxmacOSWindows
Visit

What both publish

Factpgrollsqlx-cli
Database supportPostgreSQL 14 and later; hosted and self-managed servicesIts default installation supports the databases supported by SQLx; installation options include PostgreSQL-only and SQLite-specific configurations.
InstallationDistributed as a single Go binary via Homebrew, Go install, or binariesThe CLI can be installed with `cargo install sqlx-cli`.
LicenseApache 2.0 open-source licenseThe SQLx repository lists Apache-2.0 and MIT license files.

pgroll plans

  • Open sourceFree
  • Open-sourceFree

sqlx-cli plans

  • sqlx-cliFree

Pick pgroll if…

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.

Pick sqlx-cli if…

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.

Charts they share