managing-database-migrations
CommunityAutomate database schema changes with version control.
Authorjeremylongshore
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill empowers Claude to handle database migrations, including creating new migrations, applying changes, and rolling back previous modifications. It ensures that database schema changes are managed safely and efficiently across various database systems like PostgreSQL, MySQL, SQLite, and MongoDB.
Core Features & Use Cases
- Migration File Generation: Create timestamped migration files with "up" and "down" methods.
- Apply & Rollback: Safely apply schema changes or revert to previous states.
- Schema Evolution Tracking: Maintain a clear history of database schema changes.
- Use Case: Generate a migration to add an
emailcolumn to theuserstable, complete with both forward and rollback SQL.
Quick Start
User request: "Create a migration to add an 'email' column to the 'users' table."
The skill will:
- Generate a new migration file with timestamped name.
- Populate the 'up' migration with SQL to add the 'email' column to the 'users' table.
- Populate the 'down' migration with SQL to remove the 'email' column from the 'users' table.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: managing-database-migrations Download link: https://github.com/jeremylongshore/claude-code-plugins-plus/archive/main.zip#managing-database-migrations Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.