node-pg-migrate
salsita.github.io
- Free plan
- API
- Self-hosted
6.7 Club score Visit salsita.github.io
What the maker publishes
- Automatic rollback
- Reversible operations can infer down migrations when a migration omits a down function. source
- Database requirement
- The project documents PostgreSQL 14 or higher as a precondition; lower versions may work but are not officially supported. source
- Database scope
- The project says it targets PostgreSQL and has also been tested with CockroachDB. source
- Dependency
- The getting-started guide says to install the pg library if it is not already a direct or development dependency. source
- Dependency
- The getting-started guide says to install the pg library if it is not already present. source
- Deployment safeguards
- Pending migrations run in one transaction under an advisory lock, and an order check rejects out-of-sequence migrations. source
- Distribution
- The project is released under the MIT License. source
- Dry runs
- The CLI's up --dry-run prints the SQL without applying it and runs in a read-only transaction. source
- Dry-run safety
- Dry runs use a read-only database transaction and apply none of the migration SQL. source
- Execution
- Migrations can be run from the command line or through the programmatic runner API. source
- Generated SQL
- The tool can print the SQL a real run would execute with the --dry-run option. source
- Installation
- The package can be installed with npm, pnpm, yarn, or bun and adds a runnable file to node_modules/.bin. source
- Interfaces
- Migrations can be run with CLI commands or through the programmatic runner API. source
- License
- The project is released under the MIT License. source
- Limit
- The project says it only targets PostgreSQL, rather than supporting multiple database systems. source
- Maker
- The repository lists Salsita Software among the project's former maintainers. source
- Maker background
- Salsita says it was founded in Prague in 2010 and lists its headquarters in Prague, Czechia. source
- Migration languages
- Migrations can be written in JavaScript, TypeScript, or SQL. source
- Migration languages
- Migrations can be written in JavaScript, TypeScript, or SQL. source
- PostgreSQL coverage
- The pgm API includes operations for database objects such as tables, indexes, functions, triggers, policies, roles, and extensions. source
- PostgreSQL operations
- The pgm API includes operations for tables, indexes, functions, triggers, policies, roles, extensions, grants, and other PostgreSQL objects. source
- Purpose
- node-pg-migrate manages database migrations for PostgreSQL. source
- Purpose
- node-pg-migrate manages database migrations for PostgreSQL from Node.js. source
- Requirements
- The documented prerequisites are Node.js 22.12.0 or higher and PostgreSQL 14 or higher; lower PostgreSQL versions are not officially supported. source
Checked against the maker's pages on 11 Oct 2026.