prisma-migration-drift-recovery

Community

Safely baseline drifted Prisma databases.

AuthorDavidTeju
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Baseline drift in Prisma migrations on existing databases can cause schema and migration history to diverge, risking data loss if mishandled.

Core Features & Use Cases

  • Baseline existing databases to Prisma migrations without data loss.
  • Safely apply incremental changes using prisma migrate diff and prisma migrate resolve.
  • Use cases include adopting Prisma on Supabase/direct SQL projects or migrations that diverged from Prisma's history.

Quick Start

Baseline the existing database and re-sync Prisma schema with the database in a safe, data-preserving workflow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-drift-recovery
Download link: https://github.com/DavidTeju/shared-skills/archive/main.zip#prisma-migration-drift-recovery

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.