Database Migrations
Automates and validates database schema migrations using SQL scripts, ensuring data integrity and minimizing downtime.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add omer-metin-database-migrations npx -- -y @trustedskills/omer-metin-database-migrations
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"omer-metin-database-migrations": {
"command": "npx",
"args": [
"-y",
"@trustedskills/omer-metin-database-migrations"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the process of database migrations, allowing for controlled and repeatable changes to a database schema. It generates migration files based on provided instructions, executes them against a target database, and rolls back changes if necessary. This ensures that database updates are safe, consistent, and easily managed across different environments.
When to use it
- You need to update the structure of your application's database (e.g., adding new tables or columns).
- You’re deploying a new version of an application with changes to its data model.
- You want to synchronize a development database schema with a production environment.
- You are performing a database refactoring and need to track the changes systematically.
Key capabilities
- Generates migration files based on instructions.
- Executes generated migrations against a target database.
- Provides rollback functionality for undoing applied migrations.
Example prompts
- "Create a new migration to add a 'status' column to the 'orders' table."
- "Run all pending migrations against the production database."
- "Rollback the last three migrations applied to the development environment."
Tips & gotchas
This skill requires access to both the application code and the target database. Ensure proper credentials are provided for secure operation.
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.