{"library":"pgmg","type":"library","category":null,"description":"pgmg is a forward-only, idempotent PostgreSQL migration tool that focuses on minimal magic and simplicity. Version 0.0.11 (pre-1.0) uses postgres.js to run migrations defined as ES modules exporting a transaction function. It stores migration metadata in a pgmg.migration table within the target database, enabling easy reset for development. Unlike tools like node-pg-migrate or db-migrate, pgmg avoids complex configuration and ordering, relying on glob order and idempotent execution. The package is experimental and has sparse documentation.","language":"javascript","status":"active","version":"0.0.11","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pgmg","imports":["export async function transaction(sql) { ... }","export async function action(sql) { ... }","export const name = 'Migration Name'","export const description = `...`"]},{"cmd":"yarn add pgmg","imports":[]},{"cmd":"pnpm add pgmg","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"pgmg","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}