{"library":"prisma-data-migrations","type":"library","category":null,"description":"Prisma Data Migrations is a library (v1.6.0) that fills the gap in Prisma ORM by adding support for post-migration data scripts alongside schema migrations. It provides a CLI tool for initializing configuration, generating typed migration contexts, and executing scripts within database transactions. Unlike Prisma's built-in migration system which only handles schema changes, this package enables data seeding, transformations, and cleanup after schema migrations. Active development with monthly releases. Key differentiator: seamless integration with Prisma's existing migration folder structure, TypeScript-first, and atomic transaction support.","language":"javascript","status":"active","version":"1.6.0","tags":["javascript","prisma","data-migrations","orm","typescript","database","schema-migrations"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install prisma-data-migrations","imports":["import { PrismaClient } from '@prisma/client'","import { Prisma } from 'prisma-data-migrations/migrations/20250108201031_add_user_name'","// Create a file named post.ts (or .js, .sh) in the migration folder\n// The library automatically picks up scripts named 'post' with any extension"]},{"cmd":"yarn add prisma-data-migrations","imports":[]},{"cmd":"pnpm add prisma-data-migrations","imports":[]}],"homepage":"https://github.com/Softjey/prisma-data-migrations#readme","github":"https://github.com/Softjey/prisma-data-migrations","docs":null,"changelog":null,"pypi":null,"npm":"prisma-data-migrations","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}