This skill provides a comprehensive workflow for handling Cloudflare D1 migrations within the Claude Code environment. It guides developers through generating schema changes with Drizzle ORM, identifying destructive SQL patterns, and applying migrations to both local and remote environments. It is especially valuable for diagnosing stuck migrations, recovering from partial failures, and implementing best practices for bulk data inserts and SQLite naming conventions.
주요 기능
01Guided Drizzle ORM migration generation and SQL safety inspection
02Bulk insert batching strategies to bypass D1 parameter limits
03698 GitHub stars
04Diagnostic tools for identifying and fixing stuck or partial migrations
05Standardized naming conventions for schema-to-SQL mapping
06Synchronized local and remote D1 migration application workflows
사용 사례
01Optimizing database performance for Cloudflare Workers applications
02Setting up and deploying a new Cloudflare D1 database schema
03Troubleshooting and manually recording failed migrations in production