pg-migrator
JSON →pg-migrator is a command-line tool for PostgreSQL database migrations, version 2.0.1. It supports forward and backward migrations, step-by-step or to a specific version, with transactional (all-or-nothing) execution. It searches subfolders for SQL scripts named in 'x-y.sql' format. Compared to other tools like Flyway or node-pg-migrate, it is simpler, purely CLI-based, and does not require a configuration file beyond the connection string. Its release cadence is low (last release 2019), but it remains functional for basic migration needs.
Resources
packagepg-migrator ↗