Database Migration
Skill Verified ActiveExecute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when migrating databases, changing schemas, performing data transformations, or implementing zero-downtime deployment strategies.
To simplify and de-risk the process of migrating databases, changing schemas, performing data transformations, and implementing zero-downtime deployments.
Features
- Execute migrations across multiple ORMs (Sequelize, TypeORM, Prisma)
- Implement zero-downtime deployment strategies
- Perform complex data transformations and schema changes
- Provide rollback procedures for failed migrations
- Handle cross-database migrations (e.g., PostgreSQL to MySQL)
Use Cases
- Migrating databases between different ORMs
- Changing database schemas safely with zero downtime
- Performing complex data transformations during migrations
- Implementing rollback procedures for failed migration steps
- Upgrading database versions with minimal disruption
Non-Goals
- Performing general database administration tasks
- Database performance tuning unrelated to migration
- Data backup and restore unrelated to migration rollback
Workflow
- Define migration scripts for the target ORM
- Execute schema transformations, data migrations, or zero-downtime strategies
- Implement rollback procedures in case of failure
- Verify migration success and finalize changes
Documentation
- info:READMEWhile a README exists for the overall repository, this specific skill's documentation is primarily within its SKILL.md file, which adequately serves its purpose.
Scope
- info:Dry-run previewWhile the skill doesn't have an explicit dry-run flag, the nature of migration scripts often involves manual review and explicit execution commands, providing a form of preview.
Installation
First, add the marketplace
/plugin marketplace add wshobson/agents/plugin install framework-migration@claude-code-workflowsQuality Score
VerifiedTrust Signals
Similar Extensions
Dsql
100Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.
Migrate Create
99Create a new sequentially numbered database migration with up/down SQL files
Migrate Validate
100Validate pending migrations for foreign key consistency, rollback safety, and best practices
Sql Optimization
100Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.
DBHub Database Query Guide
100Guide for querying databases through DBHub MCP server. Use this skill whenever you need to explore database schemas, inspect tables, or run SQL queries via DBHub's MCP tools (search_objects, execute_sql). Activates on any database query task, schema exploration, data retrieval, or SQL execution through MCP — even if the user just says "check the database" or "find me some data." This skill ensures you follow the correct explore-first workflow instead of guessing table structures.
V3 Memory Unification
99Unify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend).