cloudflare-d1-drizzle-migration
CommunityPrevent data loss during D1 migrations
Software Engineering#database migration#sqlite#drizzle orm#schema migration#foreign keys#data safety#cloudflare d1
Authorokayus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents destructive Cloudflare D1 database migrations that can silently delete related production data when drizzle-kit table rebuilds interact with SQLite foreign key cascades.
Core Features & Use Cases
- Migration Safety Audits: Detect risky drizzle-kit generated migrations involving table rebuilds, constraint changes, and foreign key cascade behavior before deployment.
- Production Data Protection: Provides backup, row-count verification, restore procedures, and phased migration strategies for live D1 databases.
- Use Case: When changing a Drizzle schema from nullable to NOT NULL on a production table with child relationships, use this Skill to plan a safe multi-phase rollout and avoid accidental cascade deletions.
Quick Start
Use the cloudflare-d1-drizzle-migration skill to review my upcoming Drizzle migration and provide a safe deployment plan for Cloudflare D1.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: cloudflare-d1-drizzle-migration Download link: https://github.com/okayus/okayus-skills/archive/main.zip#cloudflare-d1-drizzle-migration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.