A PostgreSQL driver for the marv database migration tool, version 5.0.0. Maintained as part of the Guidesmiths ecosystem. Supports both Promise and callback APIs. Requires Node >=10 and peer dependency pg ^7.0.0 || ^8.0.0. Provides a simple interface to run SQL migrations from a directory against a PostgreSQL database using a connection object passed to pg.Client.
npm install marv-pg-driverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows Promise-based usage with marv-pg-driver, scanning SQL migration files and applying them.
Include at least host and database; use environment variables or config.
Always use path.resolve(__dirname, 'migrations') or similar.
Pass the result of driver({ connection }) to marv.migrate.Run npm install marv-pg-driver
Ensure connection object is properly defined with host, database, user, password etc.
Use const marv = require('marv/api/promise') for Promise API.