Lightlines
By jezweb

d1-migration

jezweb1.2k installs

Inspect and apply your D1 database migrations.

What it does

Guides database schema changes from generated SQL through inspection, local and remote application, and verification.

When to use it

Use when running D1 migrations, troubleshooting migration errors, or setting up database schemas.

How to use it

Give it a D1 project needing schema changes; it generates and inspects migration SQL, applies it locally and remotely, and verifies the schema.

What you provide

  • An existing project

Uses

Latest review

What you need · 2

The migration workflow uses Drizzle ORM to generate SQL from the project's schema.

Requires wrangler for local and remote database schema verification.


Access · 2

This skill

Cloudflare D1

Write

Changes your remote D1 database

wrangler

Execute

Deploys your Worker