Skip to content
SPECIFICTION
Get listed

DbFit vs pgroll

DbFit

dbfit.github.io

pgroll

pgroll.com

Side by side

FigureDbFitpgroll
Price from—Free
Free plan—Yes
Free trial——
Open source—Yes
WebYes—
WindowsYesYes
macOS—Yes
LinuxYesYes
Self-hostedYesYes
Plans published02
Spec score · Database Testing Tools7.4 (#18)8.5 (#6)
LicenseDbFit is free and open source under the GPL license; its GitHub repository specifies GNU General Public License version 2.The repository is licensed under Apache License 2.0.
PurposeDbFit is a framework for writing readable, maintainable unit and integration tests for database code.pgroll is an open-source command-line tool for safe, reversible PostgreSQL schema migrations that keep multiple schema versions available simultaneously.
SupportThe contact page directs questions to the project forum and feature requests or bug reports to the issue tracker.Users are directed to GitHub issues, GitHub discussions and Discord for assistance.

Plans

DbFit

No plans published.

DbFit pricing →

pgroll

  • Open sourceFree
  • Open-sourceFree

pgroll pricing →

In their own words

DbFit

DbFit has no write-up on Specifiction yet; its figures are above.

Visit dbfit.github.io

pgroll

pgroll is an open-source command-line tool for PostgreSQL schema migrations that keeps old and new schema versions available while applications move between them. Its expand/contract workflow lets clients choose a version through PostgreSQL's search_path. The project describes migrations as zero-downtime and says it applies changes without locking the database; it can also backfill columns automatically when needed. For breaking changes, pgroll builds virtual schemas from views over physical tables and uses triggers to carry writes between old and new columns. Active migrations can be rolled back to the previous schema version. It supports PostgreSQL 14 and later, including RDS and Aurora, and is available for Linux, macOS, and Windows or self-hosting. It can convert SQL generated by ORMs, with examples for Alembic, Django, and Drizzle, though manual data migrations and SQL consolidation may be needed. On PostgreSQL 14, its versioned views do not respect row-level security policies, which can make it a poor choice for RLS users on that version. The project is licensed under Apache License 2.0.

Visit pgroll.com