pg-node-migrations

JSON →
library 0.0.8 ·javascript
verified Jun 5, 2026

A PostgreSQL migration library for Node.js (v0.0.8) based on ThomWright's postgres-migrations, adding support for custom schema and migration table names. Migrations are defined in sequential SQL files (starting at 0_) and run in order with no down migrations. Requires Node >10.17.0 and supports PostgreSQL 9.4+. Ships TypeScript types. Key differentiator vs alternatives: simple file-based ordering, no timestamp reliance, and ability to run in custom schema/table.