# seppevs/migrate-mongo

A database migration tool for MongoDB in Node

Repository: https://github.com/seppevs/migrate-mongo
Canonical: https://ross.abutalabs.com/products/migrate-mongo
Language: JavaScript
License: MIT
License Family: permissive
Topics: mongodb, database-migrations, database, migrations, migrate, mongo, node, npm
Last push: 2026-04-15T18:50:20+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 35, longevity 100
- inputs: {"age_days": 3739, "days_push": 140, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1029, forks 182 (observed 2026-08-28T04:03:17.658881+00:00)

## What it is
migrate-mongo is a database migration tool for MongoDB running in Node.js. It provides a CLI to create, apply, revert, and track schema or data migrations via a changelog collection.

## Use cases
- run database migrations for mongodb
- undo the last applied mongo migration
- track which migrations have been applied to a database
- create versioned migration scripts for mongodb
- initialize a migration project for a node.js app

## When to choose
- you use MongoDB in a Node.js project and need repeatable, reversible migrations
- you want a simple CLI-driven migration workflow with a changelog
- you need to coordinate schema or data changes across environments

## When to avoid
- you use a SQL database rather than MongoDB
- you need automatic schema diffing rather than hand-written migrations
- your project does not run on Node.js

## Facets
- artifact type: cli-tool
- maturity: active
- function: database, cli, developer-tools
- domain: databases, developer-tools
- platform: cli, cross-platform
- tags: mongodb, database-migrations, npm, schema-migration, command-line, nodejs

## Member repositories
- seppevs/migrate-mongo (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:17.658881+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:07:41.043776+00:00, confidence not recorded.
  - readme: https://github.com/seppevs/migrate-mongo (fetched 2026-08-28T04:03:17.658881+00:00, sha 74448b1f5e40)
  - registry_npm: https://registry.npmjs.org/migrate-mongo (fetched 2026-08-29T13:07:22.070529+00:00, sha e0c9ce3340f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
