pg-bump

JSON →
library 5.0.0 ·javascript
verified Jun 7, 2026

pg-bump is a CLI tool (v5.0.0) for managing PostgreSQL schema migrations written in plain SQL. It is ESM-only (since v4), powered by the `postgres` library instead of `pg`, and designed for use in package.json scripts. Key differentiators: single-transaction migrations by default, advisory locking, and file-based migration definitions split into up/down SQL files. It supports make, status, up, down commands. Requires Node >=14.