# db-migrate: 5.8 out of 10

Reasonable, with limits. 4th of 7 in [Database migration tools](https://elestia.ai/opensource/migrations/index.md).

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

- **Overall: 5.8** (likely 4.7 to 6.9)
  - Claude Opus 5.5 (5.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.
  - GPT-6.2 Sol (6.6): 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.
- **Needed by many: 5.8** (likely 4.8 to 6.8)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (5.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.
- **Helps a lot: 6.5** (likely 5.2 to 7.8)
  - Claude Opus 5.5 (5.5): 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.
  - GPT-6.2 Sol (7.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.
- **Holds up over time: 5.7** (likely 4.3 to 7.2)
  - Claude Opus 5.5 (5.0): 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.
  - GPT-6.2 Sol (6.4): 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.
- **Used widely: 4.5** (likely 3.4 to 5.6)
  - Claude Opus 5.5 (5.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.
  - GPT-6.2 Sol (3.9): 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.
- **Vouched for: 3.7** (likely 2.6 to 5.1)
  - Claude Opus 5.5 (3.0): 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.
  - GPT-6.2 Sol (4.4): 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.
- **Safe: 7.0** (likely 5.5 to 8.1)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (6.9): 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.

## 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

- Downloads, 4 weeks: 814k
- In a year: +73%
- GitHub stars: 2.3k
- Commits, 12 months: 98
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/db-migrate/node-db-migrate
- npm: https://www.npmjs.com/package/db-migrate

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
