Drizzle Migrations
Automates incremental database schema changes with safe rollbacks, minimizing downtime during complex migrations.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add drizzle-migrations npx -- -y @trustedskills/drizzle-migrations
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"drizzle-migrations": {
"command": "npx",
"args": [
"-y",
"@trustedskills/drizzle-migrations"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates database migrations using Drizzle ORM. It allows you to create, run, and rollback migration files, ensuring your database schema evolves consistently alongside your application code. This simplifies database management and reduces errors associated with manual schema changes.
When to use it
- Deploying a new version of an application: Automatically apply necessary database schema updates during deployment.
- Adding or modifying database tables/columns: Generate migration files to track these changes in a controlled manner.
- Rolling back problematic database changes: Revert to previous versions of the database schema if errors occur after applying migrations.
- Collaborating on projects with multiple developers: Ensure everyone is working with the same database structure by using standardized migrations.
Key capabilities
- Creates new migration files.
- Runs pending migrations against a database.
- Rolls back the last applied migration.
Example prompts
- "Create a migration to add a 'username' column to the 'users' table."
- "Run all pending database migrations."
- "Rollback the most recent database migration."
Tips & gotchas
- Requires Drizzle ORM and a compatible database setup.
- Ensure your database connection details are correctly configured for the skill to function properly.
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.