Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents Cloudflare D1 serverless SQLite database development with Workers, Drizzle ORM, Wrangler, and migrations.
74% 91%+17 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 17 of 23 without it.
3 of 3 safety checks passed
Not used yet
Cloudflare D1 is a serverless SQLite database designed for Cloudflare Workers with global distribution and zero cold starts.
Sources: D1 Docs | Drizzle + D1 | Wrangler CLI
SQLite at the edge, migrations in version control, Drizzle for type safety.
D1 brings SQLite's simplicity to serverless. Design for horizontal scale (multiple small databases) rather than vertical (one large database). Use Drizzle ORM for type-safe queries and migrations.
| Component | Purpose |
|---|---|
| D1 | Serverless SQLite database |
| Workers | Edge runtime for your application |
| Wrangler | CLI for development and deployment |
| Drizzle ORM | Type-safe ORM with migrations |
| Drizzle Kit | Migration tooling |
| Hono | Lightweight web framework (optional) |
# Create new project
npm create cloudflare@latest my-app -- --template "worker-typescript"
cd my-app
# Install dependencies
npm install drizzle-orm
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.