node-pg-migrate

API—OSS—FREE—DOCS2/5
NP5.0#28 of 32
—Web—Windows—Mac—Linux—Android—iOS

Ranked in Database Migration Tools ·No free plan on record

About

node-pg-migrate is ranked #28 of 32 in database migration tools on Inferse. It runs on API, Self-hosted.

Compared on database migration tools

Rollback support
Yessalsita.github.io
Self-hosted option
Yessalsita.github.io
Migration format
mixedsalsita.github.io

Facts

Purpose
node-pg-migrate manages database migrations for PostgreSQL.salsita.github.io · 4 Oct 2026
Migration languages
Migrations can be written in JavaScript, TypeScript, or SQL.salsita.github.io · 4 Oct 2026
Automatic rollback
Reversible operations can infer down migrations when a migration omits a down function.salsita.github.io · 4 Oct 2026
Dry runs
The CLI's up --dry-run prints the SQL without applying it and runs in a read-only transaction.salsita.github.io · 4 Oct 2026
Deployment safeguards
Pending migrations run in one transaction under an advisory lock, and an order check rejects out-of-sequence migrations.salsita.github.io · 4 Oct 2026
PostgreSQL operations
The pgm API includes operations for tables, indexes, functions, triggers, policies, roles, extensions, grants, and other PostgreSQL objects.salsita.github.io · 4 Oct 2026
Interfaces
Migrations can be run with CLI commands or through the programmatic runner API.salsita.github.io · 4 Oct 2026
Database requirement
The project documents PostgreSQL 14 or higher as a precondition; lower versions may work but are not officially supported.salsita.github.io · 4 Oct 2026
Runtime requirement
The project documents Node.js 22 or higher as a precondition.salsita.github.io · 4 Oct 2026
Dependency
The getting-started guide says to install the pg library if it is not already a direct or development dependency.salsita.github.io · 4 Oct 2026
Installation
The package can be installed with npm, pnpm, yarn, or bun and adds a runnable file to node_modules/.bin.salsita.github.io · 4 Oct 2026
License
The project is released under the MIT License.salsita.github.io · 4 Oct 2026
Maker
The repository lists Salsita Software among the project's former maintainers.github.com · 4 Oct 2026
Maker background
Salsita says it was founded in Prague in 2010 and lists its headquarters in Prague, Czechia.salsita.ai · 4 Oct 2026

Best node-pg-migrate alternatives

See all 20

Where it ranks on Inferse

Sources