migratio

JSON →
library 2.0.3 ·javascript
verified Jun 5, 2026

migratio is a lightweight, automated migration tool for PostgreSQL with support for both SQL and JavaScript migration files. The current stable version is 2.0.3, released with an engine requirement of Node.js >=4. It runs migrations in transactions with table-level locking to ensure atomic batch execution. Key differentiators include support for async/await and generators out of the box, configurable defaults via package.json, and a non-verbose API with current, up, and down commands. The package is published on npm and distributed as CommonJS.