drizzle-migrate
Installation
SKILL.md
Drizzle Migration Skill
Commands
This project uses npx drizzle-kit directly. There are no npm scripts for migrations.
| Situation | Command |
|---|---|
| Changed a schema, need to apply it to DB | npx drizzle-kit push |
| Changed a schema, need a migration file (production) | npx drizzle-kit generate |
Dev workflow (most common)
For local development, push is the standard command — it syncs the schema directly to the DB without creating migration files:
npx drizzle-kit push