db-migrate
Reasonable, with limits. 4th of 7 database migration tools.
db-migrate is a long-running, multi-database migration framework for Node.js with a CLI and a plugin driver for each database. After years stuck on 0.11 and a 1.0 beta, version 1.0 finally shipped in October 2026 and 1.9 followed in November, so it is active again. Its share is shrinking against faster-growing peers, it has no bundled types, and the 1.x line is very new, which makes it a reasonable but not leading choice today.
Best for: Teams that need one JavaScript migration CLI across MySQL, PostgreSQL, SQLite or MongoDB and do not use an ORM's own migrator.
Scores
Overall5.8
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 working multi-database migration CLI, and the 2026 1.x releases are a real revival. It has no types, the stable line is only weeks old after years of stall, it is losing share, and there is little independent validation. For a new project, node-pg-migrate (Postgres), Umzug (flexible TypeScript) or dbmate (plain SQL) is usually the better pick.
- npm downloadsSame4WeeksYearAgo: Growth below the median and below its peers
- github.com/db-migrate/node-db-migrate/releases: Stable 1.0 only in Oct 2026
- npm hasTypes: No types
GPT-6.2 Sol: 6.6, likely 5.4 to 7.8
The strongest case for db-migrate is a Node.js project that needs the same migration workflow across several engines and also runs data backfills. For a new PostgreSQL-only TypeScript project, node-pg-migrate is a better default, and dbmate is simpler for teams that want plain SQL files. Recent releases improve the case for choosing db-migrate, while slower relative install growth and limited independent evidence for 1.x temper the recommendation.
- github.com/db-migrate/node-db-migrate/blob/master/CHANGELOG.md: The stable series adds recovery, scoped state, status, and background work.
- npmjs.com/package/node-pg-migrate: The PostgreSQL-focused peer provides built-in TypeScript declarations.
- github.com/amacneil/dbmate: dbmate uses plain SQL files as its standard workflow.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers: Install growth trails the catalog median and the two named peers.
- github.com/yearn/kong/blob/main/bun.lock: The verified production adopter still pins the older release line.
Needed by many5.8
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Most backend projects with a SQL database need migrations, and db-migrate supports several databases. Many TypeScript teams get migrations from their ORM (Prisma, Drizzle, Sequelize, TypeORM), so fewer of them need a standalone tool.
- github.com/db-migrate/node-db-migrate/releases: Drivers for pg, mysql, sqlite3, cockroachdb
- pkgpulse.com/guides/best-database-migration-tools-nodejs-2026: A recent guide steers most TypeScript users to ORM migrators
GPT-6.2 Sol: 5.5, likely 4.5 to 6.5
Versioned schema changes are a recurring job for teams that own a database. db-migrate covers the three most-used database engines in the 2026 Stack Overflow survey, and its Node.js requirement and standalone workflow narrow the audience. The survey measures database use, so the share of teams that need a separate runner remains an estimate.
- survey.stackoverflow.co/2026/technology: Ranks PostgreSQL, SQLite, and MySQL as the three most-used databases.
- db-migrate.readthedocs.io/en/stable/drivers: Lists supported engines and their feature differences.
- db-migrate.readthedocs.io/en/stable/Getting%20Started/upgrading: Official support starts at Node.js 24.
Helps a lot6.5
How well does it do the job for those who need it?
Claude Opus 5.5: 5.5, likely 4.0 to 7.0
Version 1.x adds real features: migration locking, rollback on error, reversible data migrations, scopes and a status command. There are no bundled types, the plugin drivers vary in quality, and old open issues go back to 2017. node-pg-migrate does more for Postgres, and Umzug is more flexible for TypeScript.
- github.com/db-migrate/node-db-migrate/releases: 1.0 adds a lock and rollback; 1.x adds DML migrations and status
- npm hasTypes: No bundled TypeScript types
- github.com/db-migrate/node-db-migrate/issues: Open feature requests and bug reports dating back to 2017
- npm-compare.com/db-migrate,knex,sequelize,typeorm: Foreign keys need runSql; focused schema-versioning tool
GPT-6.2 Sol: 7.5, likely 6.4 to 8.5
Stable 1.9.0 offers migration history, per-scope tracking, dry runs, and recovery for interrupted migrations on supported drivers. Reversible data migrations and background jobs add practical options for backfills. Driver feature gaps and the lack of bundled TypeScript declarations reduce compiler feedback for developers and coding agents. Independent evidence on the current version's performance and recovery behavior is thin.
- github.com/db-migrate/node-db-migrate/blob/master/CHANGELOG.md: Confirms 1.9.0 and documents recovery and reversible background jobs.
- db-migrate.readthedocs.io/en/stable/Getting%20Started/commands: Documents scope tracking, status, dry runs, and verbose driver errors.
- db-migrate.readthedocs.io/en/stable/drivers: Shows which drivers support locking and the newer migration format.
- npm hasTypes: The core package has no bundled declarations.
- github.com/db-migrate/plugin-typescript: The documented plugin uses ts-node and leaves TypeScript scaffolding to the user.
Holds up over time5.7
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
The project came back to life: 98 commits, 13 npm versions in the last year, and 1.0 through 1.9 shipped in October and November 2026. Before that it sat for years on 0.11 with a stalled beta, and the work appears to depend on very few maintainers. The new line is too young to show whether the pace will hold.
- npm versionsLastYear: 13 versions; latest 1.9.0 on 2026-11-12
- github commitsLastYear: 98 commits, fewer than node-pg-migrate's 260
- dev.snyk.io/advisor/npm-package/db-migrate: Snyk rated it Inactive before the 1.0 release
- github.com/db-migrate/node-db-migrate/releases: 1.0 beta started in 2019; stable 1.0 shipped in Oct 2026
GPT-6.2 Sol: 6.4, likely 5.0 to 7.8
The repository recorded 98 commits in the past year, and npm published 1.9.0 in November. The recent releases fixed longstanding reports and preserved v1 migration files, although the upgrade changed the supported Node.js versions and moved SSH tunneling to a plugin. The stable release burst is recent, the visible GitHub releases come from one maintainer, and public funding is about $120 a year.
- github commitsLastYear; npm versionsLastYear and latestPublishedAt: 98 commits, 13 npm versions, and a November 12 publication.
- github.com/db-migrate/node-db-migrate/blob/master/CHANGELOG.md: October releases closed older configuration, API, and plugin-loading reports.
- db-migrate.readthedocs.io/en/stable/Getting%20Started/upgrading: Documents compatibility and changes to runtime support, drivers, and tunneling.
- github.com/db-migrate/node-db-migrate/releases: The visible release history is concentrated under one account.
- opencollective.com/node-db-migrate: The estimated annual budget is $120.
Used widely4.5
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
It has about 814k downloads per 4 weeks and 2,821 dependent repositories, which is real installed use. Downloads grew only 1.7x while the median project grew 4.1x, and node-pg-migrate, dbmate and Umzug grew much faster, so it is losing share of new projects. Bluesky and Hacker News show almost no attention.
- npm downloadsLast4Weeks: 813,563 now vs 470,149 a year ago (1.7x, below the 4.1x median)
- dependents: 2,821 repos and 170 packages, close to Postgrator, far below Umzug's 52,927
- bluesky posts: 0 posts
- peers downloads: node-pg-migrate grew to 5.3M and Umzug to 12.6M
GPT-6.2 Sol: 3.9, likely 2.8 to 5.2
ecosyste.ms found 2,821 dependent repositories and 170 packages, putting it close to Postgrator and well behind Umzug in the repository sample. Four-week installs rose from 470,149 to 813,563, but the 1.73× ratio trails the catalog median of 4.1× and the growth of node-pg-migrate and dbmate. That points to falling relative install share, while repeated installs and incomplete repository coverage leave the number of direct users uncertain.
- dependents repos and packages; peers dependentRepos: 2,821 sampled repositories versus 3,053 for Postgrator and 52,927 for Umzug.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo; medianDownloadsRatio: 813,563 versus 470,149 installs, or 1.73× against a 4.1× baseline.
- peers downloadsLast4Weeks and downloadsSame4WeeksYearAgo: node-pg-migrate and dbmate both grew much faster in the same window.
- github stars; bluesky posts: 2,336 stars and zero recent Bluesky posts linking to the repository.
Vouched for3.7
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
Long use and many dependents show it works, but I found no current independent benchmarks, survey data or well-known production users. Recent 2026 guides leave it out, and comparison sites still show stale pre-1.0 data.
- pkgpulse.com/guides/best-database-migration-tools-nodejs-2026: A 2026 guide does not mention db-migrate
- npm-compare.com/db-migrate,knex,sequelize,typeorm: Comparison shows weak activity signals
- hackerNews: The only matching story is about an unrelated Go tool
GPT-6.2 Sol: 4.4, likely 3.1 to 5.7
Yearn documents production use in Kong, which still pins 0.11.14, and Third Iron provides recurring financial support. An older user discussion reports success with SQL files, while a hands-on comparison preferred Umzug and Knex for TypeScript workflows. Recent independent evidence for the 1.x series is sparse, so the older reports carry limited weight.
- github.com/yearn/kong: The Kong team describes using db-migrate on its production PostgreSQL database.
- github.com/yearn/kong/blob/main/bun.lock: Kong pins db-migrate 0.11.14.
- opencollective.com/node-db-migrate: Third Iron contributed again in November 2026.
- reddit.com/r/node/comments/u0v5i7/external_sql_files_for_postgres_migrations: Users describe working SQL-file migrations and older ESM friction.
- github.com/alexander-williamson/node-database-migrations: A hands-on comparison favored Umzug and Knex for TypeScript and async workflows.
- ardentperf.com/2026/03/25/database-schema-migrations-in-2026-survey: A survey of production migration workflows identifies Knex in Ghost and Backstage.
Safe7.0
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
No OSV advisories, an MIT licence on npm and 10 direct dependencies, which the 1.x releases trimmed to remove vulnerable ones. There is no Scorecard, and GitHub detects no licence file. Releases appear to rest on few maintainers.
- advisories: 0 advisories
- npm dependencies: 10 dependencies; MIT licence on npm
- scorecard: No Scorecard data
- github.com/db-migrate/node-db-migrate/releases: Dependencies trimmed to fix known vulnerabilities
GPT-6.2 Sol: 6.9, likely 5.5 to 8.1
The package uses the permissive MIT licence, and the snapshot lists zero direct OSV advisories. The core has ten direct dependencies, with database drivers installed separately. GitHub shows a signed 1.8.1 tag and no security policy. The missing Scorecard and unverified npm publishing controls leave uncertainty about supply-chain safeguards.
- advisories total and last24Months; scorecard: Zero recorded direct advisories and no Scorecard result.
- raw.githubusercontent.com/db-migrate/node-db-migrate/master/package.json: The 1.9.0 manifest lists MIT and ten runtime dependencies.
- db-migrate.readthedocs.io/en/stable/drivers: Database drivers are installed separately.
- github.com/db-migrate/node-db-migrate/security: GitHub reports no security policy or published repository advisories.
- github.com/db-migrate/node-db-migrate/releases: GitHub shows a signed 1.8.1 tag.
Good
- One CLI and API covers several databases through driver plugins (pg, mysql, sqlite3, cockroachdb, mongodb).
- Version 1.x added a migration lock for concurrent deploys, automatic rollback, a status command and reversible data migrations.
- Many projects use it: about 2,800 dependent repositories, more than node-pg-migrate.
- Small install with 10 dependencies and no known advisories.
Bad
- The npm package ships no TypeScript types.
- The 1.x line is weeks old after years without a stable release, and it changed the state table and removed seeders.
- Downloads grew 1.7x in a year while the median project grew 4.1x and peers grew far faster.
- Little current independent coverage; recent 2026 guides recommend Drizzle Kit, Prisma Migrate, Umzug or node-pg-migrate instead.
The numbers
- npm downloads, 4 weeks
- 814k +73% in a year
- GitHub stars
- 2.3k
- Commits, 12 months
- 98
- npm version
- 1.9.0 Nov 2026
- Versions, 12 months
- 13
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (db-migrate/node-db-migrate), npm (db-migrate), OSV and the OpenSSF Scorecard.