{"library":"sql-patch","type":"library","category":null,"description":"sql-patch is a minimal, idempotent SQL migration tool for Node.js, version 1.2.2. It applies all `.sql` files in a directory in order to a PostgreSQL database, tracking applied patches in a `_schema_patches` table. Unlike Rails migrations, patches are one-way and SQL-only, with no DSL or ORM. Release cadence is low; the project is stable but limited to PostgreSQL. Key differentiator: extremely simple, no configuration, and pure SQL — no code generation or rollbacks.","language":"javascript","status":"active","version":"1.2.2","tags":["javascript","sql","migrate"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install sql-patch","imports":["import sqlPatch from 'sql-patch'","import type { PatchOptions } from 'sql-patch'"]},{"cmd":"yarn add sql-patch","imports":[]},{"cmd":"pnpm add sql-patch","imports":[]}],"homepage":"https://github.com/chbrown/sql-patch","github":"https://github.com/chbrown/sql-patch","docs":null,"changelog":null,"pypi":null,"npm":"sql-patch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}