denys-mokhrin

Rollback Migration — Data skill for Claude Code

Data community

Roll back one applied migration of one context in the Bonus Ledger scaffold with the procedure that actually works on Prisma 7 (down.sql, then remove the history row).

How to install Rollback Migration

Installs to ~/.claude/skills/denys-mokhrin-ledger-slice-rollback-migration/SKILL.md

Terminal
mkdir -p ~/.claude/skills/denys-mokhrin-ledger-slice-rollback-migration && curl -fsSL https://raw.githubusercontent.com/denys-mokhrin/ledger-slice/HEAD/commands/rollback-migration.md -o ~/.claude/skills/denys-mokhrin-ledger-slice-rollback-migration/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Rollback Migration does


description: Roll back one applied migration of one context in the Bonus Ledger scaffold with the procedure that actually works on Prisma 7 (down.sql, then remove the history row). argument-hint: allowed-tools: Bash, Read, Glob

Roll back the migration `$ARGUMENTS[1]` of the context `$ARGUMENTS[0]`.

Why this command exists: ADR 0002 documents `prisma migrate resolve --rolled-back`, but Prisma accepts that only for a migration that failed (error P3012).

Alternatives in Data

  • Sprite Gen — Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame 763 ★
  • Create Database Row 337 ★
  • Deepdive — Deepdive skill for Claude Code — 12-phase research pipeline: plan-review gate, parallel sub-agent search, clai 297 ★

Full documentation available on GitHub

View Source Repository