{"library":"postgrator","type":"library","category":null,"description":"SQL migration tool for Node.js using plain SQL or JavaScript files, supporting PostgreSQL, MySQL, SQL Server, and SQLite. Version 8.0.0 requires Node >=20 and publishes TypeScript types. Postgrator is ESM-only as of v6, tracks migrations in a schema table, and automatically determines directional migration (up/down). Key differentiators: file-based versioning with .do.sql/.undo.sql convention, optional JS/async migration scripts, and no ORM dependency. Released under MIT license, maintained by Rick Bergfalk.","language":"javascript","status":"active","version":"8.0.0","tags":["javascript","migrator","migration","postgres","postgresql","mysql","sql server","sql","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install postgrator","imports":["import Postgrator from 'postgrator';","import Postgrator from 'postgrator';","import type { PostgratorConfig } from 'postgrator';","import type { Migration } from 'postgrator';"]},{"cmd":"yarn add postgrator","imports":[]},{"cmd":"pnpm add postgrator","imports":[]}],"homepage":"https://github.com/rickbergfalk/postgrator#readme","github":"git://github.com/rickbergfalk/postgrator","docs":null,"changelog":null,"pypi":null,"npm":"postgrator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}