Marketplace

/togo:migrate

Skill

Apply / manage database migrations (Atlas) for the current togo app.

Use it in Claude Code

bash
/togo:migrate [diff <name> | status | rollback | fresh]

Install the skill

bash
togo install skill:migrate

Manage migrations with the togo CLI:

  • togo migrate — apply pending migrations
  • togo migrate:diff $1 — generate a migration from the Atlas schema (db/atlas/schema/*.hcl)
  • togo migrate:status — show applied/pending
  • togo migrate:rollback — roll back the last batch
  • togo migrate:fresh — drop & re-apply (dev only)

Run the variant matching $ARGUMENTS; default to togo migrate.

A skill from the togo Claude Code plugin — or get the whole set with togo install claude.