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”