d1-and-supabase-migrations - Skill Dossier
d1-and-supabase-migrations

d1-and-supabase-migrations

Use when applying Cloudflare D1 migrations, fighting Supabase migration history vs SQL execution, choosing direct psql over CLI, designing idempotent migrations, debugging schema drift between local and remote, or recovering after a half-applied migration. Triggers: supabase migration repair instructions appearing, table missing after "applied" status, "Tenant or user not found" when running psql, --remote vs --local D1 confusion, NOT NULL on a populated column, foreign key constraint failures, drift between staging and prod schemas. NOT for Mongo/document migrations, ORM-managed migrations specifically (Prisma/Drizzle have their own conventions), or pure data backfills.

Backend & Infrastructure
#database#migrations#sqlite#postgres#supabase#d1#schema

Share this skill

Skills use the open SKILL.md standard — the same file works across all platforms.

Install all 547 skills as a plugin
claude plugin marketplace add curiositech/windags-skills claude plugin install windags-skills

Claude activates d1-and-supabase-migrations automatically when your task matches its description.

View on GitHub