Back to Agents
Database Migration Agent
AvailableโSchema changes without the sweatingโ
Database6 skills
What It Does
Generates safe database migrations, validates them against production data patterns, creates rollback plans, and checks for data loss. Supports Prisma, TypeORM, Knex, raw SQL, and more.
Features
- Generates migration files from schema diffs
- Validates migrations for data safety
- Creates automatic rollback scripts
- Checks for destructive operations (column drops, type changes)
- Generates seed data for new tables
- Optimizes queries affected by schema changes
- Supports multiple ORMs and raw SQL
Triggers
On schema change Manual request Before deployment
Trust Levels
Use Cases
- Safe database changes in production environments
- Migrating between database versions
- Adding new tables/columns without downtime
Example Prompts
โGenerate migration for the new users tableโโIs this migration safe for production?โโCreate a rollback planโ