# tj/node-migrate

Abstract migration framework for node

Repository: https://github.com/tj/node-migrate
Canonical: https://ross.abutalabs.com/products/node-migrate
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-08-22T13:50:51+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5610, "days_push": 741, "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 1546, forks 223 (observed 2026-08-28T04:05:01.595261+00:00)

## What it is
An abstract migration framework for Node.js that lets developers define up/down migration steps and run them via a CLI or programmatically. It tracks migration state in a state store and is database-agnostic.

## Use cases
- run database schema migrations in a node project
- create and apply versioned migration files
- roll back migrations with a down step
- run migrations programmatically during deployment
- manage migrations without being tied to a specific database

## When to choose
- you need a lightweight, database-agnostic migration runner for Node.js
- you want both CLI and programmatic migration control
- your ORM lacks a built-in migration tool

## When to avoid
- you use an ORM with its own integrated migration system
- you need a non-JavaScript/Node.js stack
- you want a framework with built-in schema diffing for a specific database

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: database, cli, developer-tools
- domain: databases, developer-tools, backend
- platform: cli
- tags: database-migrations, schema-migration, migration-runner, nodejs

## Member repositories
- tj/node-migrate (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:01.595261+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-30T04:30:34.545352+00:00, confidence not recorded.
  - readme: https://github.com/tj/node-migrate (fetched 2026-08-28T04:05:01.595261+00:00, sha 1b9543fc41d1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
