Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Routes database work to migration, transaction, query contract, and external effect guidance for Drizzle and related schema changes.
14% 41%+27 ptsof test cases passed
Passed 9 of 22 test cases with the skill, and 3 of 22 without it.
Its SkillScore uses its best run instead: +32 pts on gemini-3.6-flash, Sep 9, 2026.
3 of 3 safety checks passed
97 agent runs
cd turbo/packages/db
pnpm db:generate # Generate migration from schema changes
pnpm db:migrate # Run pending migrations
pnpm db:studio # Open Drizzle Studio UI
# 1. Edit schema in src/schema/
# 2. Generate migration (auto-updates _journal.json and snapshot)
pnpm db:generate
# 3. Run locally
pnpm db:migrate
Use drizzle-kit generate --custom to create an empty migration file managed by Drizzle.
This auto-updates _journal.json and snapshot — never edit these manually.
# 1. Generate empty migration file
pnpm drizzle-kit generate --custom --name=rename_foo_to_bar
# 2. Write SQL in the generated file
# 3. Update schema file to match
# 4. Run locally
pnpm db:migrate
Next to this one in the catalogue, plus more from the same author.