Lightlines
By jezweb

d1-drizzle-schema

jezweb1.7k installs

Your D1 data model, ready for Drizzle.

What it does

Generates D1-compatible Drizzle schemas, type exports, migration commands, and database documentation for your data model.

When to use it

Use when creating a database, adding tables, or scaffolding a D1 data layer.

How to use it

Give it a data model for your project; it creates D1-compatible schema files, relations, types, migration scripts, and documentation.

What you provide

  • An existing project

Uses

Latest review

What you need · 6

The generated schemas import Drizzle's SQLite column definitions and relation helpers.

Requires drizzle-kit to generate migrations and load the generated configuration.

Requires wrangler to apply D1 migrations locally and remotely before testing.


Access · 1

This skill

Cloudflare D1

Write

Applies remote D1 migrations