What problem does it solve? Writing Drizzle ORM schemas for Cloudflare D1 fails when developers assume standard SQLite behavior, because D1 enforces foreign keys permanently, limits bound parameters to 100, and lacks native BOOLEAN and DATETIME types. This Skill provides verified column patterns and workflow guidance so generated schemas work correctly on D1 the first time. ## Core Features & Use Cases - D1-Correct Column Patterns: Complete reference for UUID primary keys, text enums, booleans as integer, timestamps as integer, and typed JSON columns. - D1 Specifics Reference: Documents D1 limits and differences from SQLite, including the 100 bound parameter cap, always-on foreign keys, and JSON extraction functions. - Bulk Insert Workflow: Provides batch size calculation and migration scripts to avoid silent failures from the parameter limit. - Use Case: When scaffolding a new Cloudflare Workers project with a D1 database, use this Skill to generate the schema.ts file, drizzle-kit config, and migration scripts with correct D1 typing throughout. ## Quick Start Generate a Drizzle ORM schema for my Cloudflare D1 database with users and posts tables including proper D1 column types.