Help us improve
Share bugs, ideas, or general feedback.
From migration-generator
Rolls back the most recent database migration or to a specific version, with data loss warnings, explicit confirmation, transactional execution, schema verification, and status report.
npx claudepluginhub rohitg00/awesome-claude-code-toolkit --plugin migration-generatorHow this command is triggered — by the user, by Claude, or both
Slash command
/migration-generator:rollbackThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /rollback - Rollback Database Migration Roll back the most recent database migration or to a specific version. ## Steps 1. Identify the current migration version from the migrations table 2. List recent migrations with their status (applied, pending, failed) 3. If no target version specified, default to rolling back the last applied migration 4. Read the down migration logic for the target migration 5. Check for data loss risks: dropping tables, removing columns with data 6. Warn the user about any irreversible changes and data loss potential 7. Ask for explicit confirmation before pro...
/migrateAuto-detects ORM/migration tool and generates idiomatic database migrations with backward compatibility checks, rollback validation, lock estimates. Applies, rolls back, or shows status via flags.
/plan-migrationPlan safe schema migration with backward compatibility and rollback strategy.
/migrationGenerates timestamped up/down migration files for PostgreSQL, MySQL, SQLite, MongoDB using SQL or ORM, with run instructions and testing guidance.
/rollback-deployGuides systematic deployment rollback to previous version: assesses incident, performs safety checks, database backup, traffic management, Kubernetes/Docker Swarm execution.
/migrateGenerate or execute safe data migration scripts for PostgreSQL with plans, backfills, rollbacks, validations, and safety checks. Supports generate, plan, run, backfill actions.
/rollbackRemoves all claudex state files (.state, .lock, -runner.sh, -prompt.txt) from .claude/claudex/ to resolve stuck loops. Preserves log for debugging.
Share bugs, ideas, or general feedback.
Roll back the most recent database migration or to a specific version.