A forward-only PostgreSQL migration tool (v0.0.30) that discourages rollbacks and forces developers to think of migrations as whole units. It supports both SQL and programmatic JavaScript migrations, and integrates with a custom PostgreSQL client or the default node-postgres driver. Configurable via environment variables or .upmigrc.js. Less popular than node-pg-migrate or db-migrate, but offers a unique philosophy of no rollbacks.
npm install pg-upmigNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate the migrator with a connection and apply one pending migration.
Design migrations to be idempotent or handle rollbacks manually via additional SQL scripts.
Use `module.exports = (client, method) => { return new Promise(...); }`Ensure your client wrapper implements these methods with the expected signatures.
Use `const migration = new upmig(...);`
Check host, port, and that the database is accessible.
Ensure the database user has CREATE TABLE privilege.
No dependency data recorded yet.