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#7 in database migration toolsFree plan
Free planLinuxmacOSWindows
Visit

What both publish

Factpgrollsqlx-cli
LicenseThe repository is licensed under Apache License 2.0.The SQLx repository lists Apache-2.0 and MIT license files.
Purposepgroll is an open-source command-line tool for safe, reversible PostgreSQL schema migrations that keep multiple schema versions available simultaneously.SQLx CLI is a command-line utility for managing databases and migrations and enabling offline mode for SQLx query macros.

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