Elestia Open Source Ratings
5.5

Graphile Migrate

Reasonable, with limits. 6th of 7 database migration tools.

Graphile Migrate is a SQL-first, roll-forward-only migration tool for PostgreSQL. Its watch mode re-runs an idempotent "current" migration while you develop. It is well made for Postgres teams who like its workflow, especially users of PostGraphile. But the stable npm release (1.4.1) dates from December 2022, v2 is still at release candidate stage, and use is small next to node-pg-migrate and dbmate.

Best for: PostgreSQL teams, especially PostGraphile users, who want to write plain SQL migrations with a fast watch-and-commit loop and never roll back.

GitHubnpm

Scores

Overall5.5

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

It is a good, opinionated tool for Postgres teams who want SQL-only, roll-forward migrations, and a natural fit for PostGraphile users. The stalled stable release, the long v2 release-candidate phase, reliance on one main maintainer, and small use keep it below node-pg-migrate and dbmate for most new Postgres projects.

GPT-6.2 Sol: 5.9, likely 4.7 to 7.1

Graphile Migrate earns its place when a small PostgreSQL team will use watch mode and shadow replay every day. For most new SQL-first projects, dbmate is simpler to set up, and node-pg-migrate is a stronger fit for teams that want a typed migration API. The long gap between stable releases limits the recommendation, and the active 2.0 work leaves room for it to improve.

Needed by many4.2

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Most backend projects need migrations. This tool serves only PostgreSQL users who want raw SQL and accept roll-forward only, so its audience is a clear niche inside the category.

GPT-6.2 Sol: 4.4, likely 3.3 to 5.6

PostgreSQL was used by 57.9% of respondents to the database question in the 2026 Stack Overflow survey. Graphile Migrate serves the subset that wants hand-written SQL and a roll-forward CLI. The survey gives a sense of PostgreSQL's reach, while demand for this workflow is harder to measure.

Helps a lot6.6

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

The watch/commit workflow, the shadow database, hooks, placeholders and migration hashes are thoughtful and work well for Postgres. Down migrations are missing, the idempotency rule takes learning, and open issues show rough edges: lost SQL errors, a race in a hook, and Supabase role setup. Its niche workflow also means AI agents get it right less often than mainstream tools.

GPT-6.2 Sol: 6.7, likely 5.6 to 7.8

Version 1.4.1 combines watch mode, shadow replay and a record of applied SQL migrations. The docs explain how to write rerunnable SQL, and failed command hooks report stdout and stderr. Strict ordering adds coordination when changes land in parallel, and the typed API is internal. The score reflects documented behavior and user reports, with limited independent evidence on speed or AI-generated migrations.

Holds up over time5.2

Will it still be a good choice in two years?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

The repository is active, with 132 commits and v2 release candidates in 2026. But nothing new has reached the npm latest tag since 2022. The work rests mainly on one maintainer, funded by sponsorship. v2 brings fixtures and requires Node 18, so moving to it may take some upgrade work.

  • github commitsLastYear: 132 commits in the last year
  • npm latestPublishedAt: Latest stable published 2022-12-20; 0 versions last year on latest
  • github.com/graphile/migrate/releases: v2.0.0-rc.7 released Oct; v2 still pre-release
  • Graphile funding: Graphile projects led by Benjie, funded via sponsorship

GPT-6.2 Sol: 5.3, likely 3.9 to 6.8

The repository logged 132 commits in a year and shipped several 2.0 release candidates, with sponsorship supporting the wider Graphile suite. The stable npm release dates to December 2022, and every Node.js version listed in its docs has reached end of life. Several user issues remain open from earlier years, and the timing of a stable 2.0 release is uncertain.

Used widely3.2

How many use it, and is that growing?

Claude Opus 5.5: 3.5, likely 2.5 to 4.5

It had 362k downloads in the last 4 weeks, about 4.0x a year ago. That is roughly the 4.1 median, so it is holding its share, not gaining. ecosyste.ms finds only 48 dependent repos, against 1,035 for node-pg-migrate and 3,053 for Postgrator. Many downloads probably come from CI and from the PostGraphile ecosystem.

  • npm downloadsLast4Weeks: 362,007 vs 89,595 a year ago (ratio ~4.0)
  • dependents: 48 repos, 7 packages
  • peers node-pg-migrate: 5.3M downloads, 1,035 dependent repos
  • github stars: 836 stars

GPT-6.2 Sol: 2.9, likely 1.5 to 4.4

Four-week downloads grew from about 89,600 to 362,000, a 4.04× increase just below the 4.1× catalog baseline. Ecosyste.ms found 48 dependent repositories and seven packages, compared with 1,035 repositories for node-pg-migrate. Partial repository coverage and repeat installs leave the number of teams choosing it uncertain.

  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 362,007 versus 89,595 downloads
  • medianDownloadsRatio: 4.1× catalog growth baseline
  • dependents and peers: Fewest detected dependent repositories in this peer set
  • github stars, hackerNews stories and bluesky posts: 836 stars and no matched stories or posts in the bundle
Vouched for4.1

Who stands behind it being good?

Claude Opus 5.5: 3.5, likely 2.0 to 5.0

Validation comes mainly from the Graphile/PostGraphile ecosystem and a few positive blog posts. I found no survey data, independent benchmarks or critical comparisons. There are no Hacker News stories and no Bluesky posts.

GPT-6.2 Sol: 4.7, likely 3.4 to 6.0

Wageningen University & Research documents using Graphile Migrate for the Soils4Africa database it hosts. An independent comparison highlights the local SQL workflow, and a Supabase user reports success across several projects with a custom setup. This is a small set of deployments and user reports, with little evidence on broader satisfaction or performance.

Safe6.1

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

There are no known advisories, the licence is MIT, and it pulls in 12 direct dependencies. The OpenSSF Scorecard is 4.8. Code review, token permissions, pinned dependencies and SAST score low, and few people can publish releases.

  • advisories total: 0 advisories
  • scorecard score: 4.8; Code-Review 2, Token-Permissions 0, Pinned-Dependencies 0
  • npm dependencies: 12 dependencies

GPT-6.2 Sol: 5.7, likely 4.3 to 7.0

The stable package uses the permissive MIT license, has 12 direct dependencies and has zero advisories in the supplied OSV data. OpenSSF Scorecard rates it 4.8, with weak code review, workflow token permissions and dependency pinning. The project has a private reporting channel, and the provenance and publisher access for the stable npm release remain unverified.

  • npm license and dependencies: MIT license and 12 direct dependencies
  • advisories total: Zero package advisories in the supplied OSV data
  • scorecard score and checks: 4.8 overall with weak review, permissions and pinning
  • github.com/graphile/migrate/security/policy: Private disclosure channel and update policy

Good

  • Migrations are plain PostgreSQL SQL, with no DSL to learn and nothing that ties you to an ORM.
  • Watch mode re-runs the current migration on every save, which makes schema work fast to iterate on.
  • A shadow database and hashes on committed migrations catch drift and edits to migrations that already ran.
  • No known advisories, an MIT licence, and a small dependency tree.

Bad

  • The stable npm release has not changed since December 2022, and v2 is still in release candidates.
  • It works only with PostgreSQL and only rolls forward, with no down migrations.
  • Every current migration must be idempotent, which adds learning and discipline for new users.
  • Few independent write-ups and a small dependent count compared with node-pg-migrate and dbmate.

The numbers

npm downloads, 4 weeks
362k ×4.0 in a year
GitHub stars
836
Commits, 12 months
132
npm version
1.4.1 Dec 2022
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
4.8 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (graphile/migrate), npm (graphile-migrate), OSV and the OpenSSF Scorecard.

Database migration tools

  1. 7.6dbmate
  2. 7.4node-pg-migrate
  3. 6.6Umzug
  4. 5.8db-migrate
  5. 5.5Postgrator
  6. 5.5Graphile Migrate
  7. 3.2ley
Compare all 7 on six scores