What problem does it solve?
This Skill simplifies the process of creating, verifying, and executing Prisma migrations for managing schema changes, reducing the risk of drift and ensuring database integrity.
Core Features & Use Cases
- Safe Migration Workflow: Generates and verifies migrations for Prisma schema changes.
- Preflight and Validation: Checks local Postgres availability and schema diff understanding before migration.
- Automated Prisma Operations: Generates Prisma Client, creates migrations, and verifies database synchronization.
- Seed Data Management: Optionally renews seed data for demo databases when needed.
- Regression Testing: Includes regression gate and API health check after migration.
- Use Case: For a developer or team member responsible for Prisma migrations in a regulated environment, this Skill provides a streamlined approach to maintain a synchronized and up-to-date database schema.
Quick Start
Run the prisma-migrate skill to generate and execute the Prisma migration for the current schema changes.