prisma-migration-assistant

Community

Safe Prisma migrations, simplified.

Authorzinohome
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of managing database schema changes with Prisma, ensuring migrations are safe, well-planned, and include strategies for data backfills and rollbacks.

Core Features & Use Cases

  • Migration Planning: Guides users through updating schema.prisma, generating SQL, and reviewing changes.
  • Data Transformation: Provides SQL examples for complex data migrations like splitting fields or changing types.
  • Backfill & Rollback: Offers strategies and code examples for handling data during and after migrations, including rollback procedures.
  • Use Case: Safely rename a database column in Prisma, ensuring existing data is copied and the new column is properly constrained, with a clear rollback plan.

Quick Start

Use the prisma-migration-assistant skill to plan a migration that renames the 'email' field to 'emailAddr' in the User model.

Dependency Matrix

Required Modules

None required

Components

referencesscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: prisma-migration-assistant
Download link: https://github.com/zinohome/CozyChat/archive/main.zip#prisma-migration-assistant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.