{"library":"node-pg-migrate-custom","type":"library","category":null,"description":"A PostgreSQL-specific database migration tool for Node.js, built as a fork of the original node-pg-migrate with two extensions: prioritization of DATABASE_URL environment variable over JSON config, and a flag to skip tracking applied migrations (useful for migrating stored functions). Current stable version is 5.6.0-patch.6, released as a patch fork. The library provides a programmatic API and CLI to create and run migrations using a fluent builder pattern for SQL operations, automatically inferring down migrations. It supports ES modules and TypeScript types, and requires the pg peer dependency (>=4.3.0 <9.0.0). Unlike generic migration tools, it is built exclusively for PostgreSQL, offering full-featured PostgreSQL-specific operations without sacrificing simplicity.","language":"javascript","status":"active","version":"5.6.0-patch.6","tags":["javascript","db","database","migrate","migration","migrations","migrator","db-migrate","sql","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install node-pg-migrate-custom","imports":["import { MigrationBuilder } from 'node-pg-migrate-custom'","import nodePgMigrate from 'node-pg-migrate-custom'","import type { ColumnDefinition } from 'node-pg-migrate-custom'","export const up = (pgm: MigrationBuilder) => { ... }"]},{"cmd":"yarn add node-pg-migrate-custom","imports":[]},{"cmd":"pnpm add node-pg-migrate-custom","imports":[]}],"homepage":"https://github.com/tonkonogov/node-pg-migrate#readme","github":"https://github.com/tonkonogov/node-pg-migrate","docs":null,"changelog":null,"pypi":null,"npm":"node-pg-migrate-custom","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}