Database Migration
Helps with database, migration as part of working with databases and data persistence workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add database-migration npx -- -y @trustedskills/database-migration
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"database-migration": {
"command": "npx",
"args": [
"-y",
"@trustedskills/database-migration"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The database-migration skill enables AI agents to manage and execute migrations between different database systems. It supports schema updates, data transformation, and version control of database structures across environments such as development, testing, and production.
When to use it
- Migrating a legacy SQL database to a modern NoSQL system like MongoDB.
- Updating the schema of an existing PostgreSQL database with new fields or relationships.
- Ensuring consistent data structure across multiple staging environments before deployment.
Key capabilities
- Schema comparison and synchronization between databases
- Data transformation during migration
- Version-controlled migration scripts
- Support for multiple database systems (e.g., MySQL, PostgreSQL, MongoDB)
Example prompts
- "Migrate the user table from MySQL to PostgreSQL, preserving all data."
- "Generate a migration script to add an 'email' field to the customers table in SQLite."
- "Compare the schema of my development and production databases and highlight differences."
Tips & gotchas
- Ensure backups are taken before executing migrations.
- Some database systems may require specific tools or drivers for compatibility.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.