SuperAPI AI Directory

drizzle-cli

Coding & development

View repository

Updated 10-16 01:25

About this skill

Drizzle CLI

Schema changes go through drizzle-kit, never through hand-written SQL migrations.

  • Generate a migration from schema changes: drizzle-kit generate
  • Apply migrations: drizzle-kit migrate
  • Push schema directly (dev only): drizzle-kit push
  • Inspect the DB in a UI: drizzle-kit studio
  • Sanity-check schema vs migrations: drizzle-kit check
  • Discover more: drizzle-kit --help

Config lives in drizzle.config.ts. Check the repo's npm scripts first — migrations are often wired into the build.

For current Drizzle documentation, use the context7 skill — there is no vendor docs skill for Drizzle yet.