{"library":"pg-migrator","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","pg","postgres","postgresql","migrate","migration","migrator","pg-migrate","pg-migration"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install pg-migrator","imports":["npx pg-migrator postgres://user:pass@localhost/db"]},{"cmd":"yarn add pg-migrator","imports":[]},{"cmd":"pnpm add pg-migrator","imports":[]}],"homepage":"https://github.com/leventkaragol/pg-migrator#readme","github":"https://github.com/leventkaragol/pg-migrator","docs":null,"changelog":null,"pypi":null,"npm":"pg-migrator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}