# Umzug: 6.6 out of 10

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

Umzug is a small, framework-agnostic migration runner for Node.js. It tracks which migration steps have run, and Sequelize, MikroORM and Medusa build on it. It is a solid, safe engine with wide reach, but development is slow and it is low-level, so for a new project it is a reasonable choice rather than the default.

**Best for:** Teams that want plain-code migrations in TypeScript or JavaScript, with any database client or custom storage, run from their own code or CLI.

## Scores

- **Overall: 6.6** (likely 5.5 to 7.5)
  - Claude Opus 5.5 (6.0): Umzug is a dependable, flexible migration engine that major ORMs trust, and it has a clean security record. Maintenance has slowed to near-minimal, and its download growth trails the category. For Postgres projects, node-pg-migrate is more active and more fully featured. It is a reasonable pick when you need custom, code-based migrations across databases, but not the category default.
  - GPT-6.2 Sol (7.1): Choose Umzug when migrations need to use application code, especially with Sequelize or a custom database client. For new PostgreSQL-only projects that want built-in advisory locking and transaction handling, node-pg-migrate is the stronger choice. Dbmate is simpler for teams that prefer plain SQL and a standalone CLI. Umzug's slow release cadence and the work required to coordinate migrations across hosts keep the recommendation focused on its best fit.
- **Needed by many: 5.9** (likely 4.8 to 7.0)
  - Claude Opus 5.5 (6.0): Most backend projects that use a SQL or document database need migrations. Umzug is database-agnostic, so it can serve all of them. Many teams, though, get migrations from their ORM or schema tool and never pick a runner like this directly.
  - GPT-6.2 Sol (5.7): Schema migration is a recurring need for teams that own a relational database. Umzug supports multiple database clients through its configurable context and storage, especially when the application already runs on Node.js. The survey establishes that Node.js and relational databases are common, which only indirectly measures demand for an embedded migration runner.
- **Helps a lot: 6.7** (likely 5.7 to 7.7)
  - Claude Opus 5.5 (6.0): The API is clean and typed, supports async and ESM migrations, has pluggable storage and a CLI, and handles up, down and partial runs well. It is a bare runner, though. It does not generate SQL or diff schemas, and it has no locking and only modest documentation. One independent writer found Knex migrations similar but better documented.
  - GPT-6.2 Sol (7.4): The typed context, selective rollback, configurable storage, and clear error messages make the runner easy to integrate. The bundled lock uses the filesystem, and a user reported that Sequelize storage could leave migration records committed after their shared transaction rolled back. A working deployment therefore depends on how the application handles transactions and concurrency. Independent evidence on performance and AI-generated migration correctness is limited.
- **Holds up over time: 5.3** (likely 4.1 to 6.9)
  - Claude Opus 5.5 (5.0): The project is not archived and saw a push yesterday. Still, it had only 7 commits and one release (v3.8.3, a dependency security update) in the past year, and Scorecard marks it as not maintained. Because MikroORM, Medusa and Sequelize depend on it, it is unlikely to vanish. The API has stayed stable through v3, so upgrades rarely break code.
  - GPT-6.2 Sol (5.5): Seven commits and one release over the past year put Umzug well behind dbmate and node-pg-migrate on maintenance activity. Several pull requests have been open for more than a year, and recent GitHub releases come from one maintainer. The May security release shows continued upkeep, and the maintainer accepts sponsorship. The number of people who can publish to npm and the funding available for ongoing work remain unclear.
- **Used widely: 6.5** (likely 5.3 to 7.6)
  - Claude Opus 5.5 (7.0): Downloads are 12.6M per 4 weeks, and 52,927 dependent repos is far more than any peer. Most of that comes from installs through sequelize-cli, MikroORM and Medusa rather than direct choices. Downloads grew 2.3x in a year, below the 4.1 median, while node-pg-migrate and dbmate grew much faster, so Umzug is losing share.
  - GPT-6.2 Sol (5.9): The 52,927 indexed dependent repositories give Umzug the largest observed footprint among its peers. Downloads grew 2.30×, below the catalog's 4.1× baseline and well behind dbmate and node-pg-migrate, which points to a loss of relative ground. Sequelize CLI installs Umzug 2 transitively, and MikroORM 7 removed Umzug, so the share of installs attributable to teams choosing Umzug 3 remains uncertain.
- **Vouched for: 6.2** (likely 5.1 to 7.3)
  - Claude Opus 5.5 (6.0): Several well-known ORMs and frameworks (Sequelize, MikroORM, Medusa) build on it, which is a strong sign of trust in the engine. Independent write-ups are few and lukewarm, and there is no survey data or recent community discussion on Hacker News or Bluesky.
  - GPT-6.2 Sol (6.3): Sequelize recommends Umzug for programmatic migrations, and the Lockheed Martin and MITRE TIR project uses it to run database changes. An independent comparison favors its flexibility, and developers report successful use with custom SQL in deployment workflows. Recent independent benchmarks and satisfaction data specific to Umzug are sparse.
- **Safe: 6.7** (likely 5.6 to 7.8)
  - Claude Opus 5.5 (7.0): It has no advisories ever, an MIT licence and only 5 dependencies, and the last release patched vulnerable transitive dependencies. The OpenSSF Scorecard is weak at 3.2, with no security policy, unpinned dependencies, broad token permissions and little code review. Releases seem to come from a very small group.
  - GPT-6.2 Sol (6.4): Umzug uses the MIT license, has five direct dependencies, and has no direct OSV advisories in the snapshot. Version 3.8.3 addressed dependency audit findings, and its production lockfile uses a different dependency chain from the one in the open Ajv report. The 3.2 OpenSSF score reflects weak code review and workflow token permissions. Limited evidence about npm publishing safeguards widens the range.

## Good

- Migrations are plain async functions, so they can mix schema changes with data backfills and calls to other services.
- It works with any database or client, and the storage that records which steps ran is pluggable (Sequelize, MongoDB, JSON or custom).
- It is written in TypeScript, has a programmatic API plus a CLI, and pulls in only 5 dependencies.
- Sequelize, MikroORM and Medusa run their migrations on it, which keeps it widely tested.

## Bad

- It does not generate SQL or diff schemas: you write every up and down step by hand.
- Development is slow, with 7 commits and one release in the last year, and 19 pull requests are still open.
- Its documentation is thinner than that of Knex migrations or node-pg-migrate.
- Glob loading sorts filenames as text, so names must be zero-padded or timestamped to run in the right order.

## The numbers

- Downloads, 4 weeks: 13M
- In a year: ×2.3
- GitHub stars: 2.2k
- Commits, 12 months: 7
- Last npm release: May 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/sequelize/umzug
- npm: https://www.npmjs.com/package/umzug

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.
