Database Migration Manager

•
883
•

Automates database schema evolution by generating and managing version-controlled migrations for SQL and NoSQL databases.

This skill provides Claude with specialized capabilities to handle the complexities of database schema management across multiple environments. It facilitates the generation of timestamped migration files containing both 'up' and 'down' logic for popular databases including PostgreSQL, MySQL, SQLite, and MongoDB. By enforcing best practices like idempotency and transactional safety, the skill ensures that developers can safely add columns, modify tables, and rollback changes without the risk of schema drift or manual scripting errors.

主要功能

01883 GitHub stars
02Automated generation of timestamped migration files (YYYYMMDDHHMMSS)
03Built-in guidance for migration best practices including transactions and idempotency
04Smart detection of schema change requests like adding columns or modifying tables
05Multi-database support for PostgreSQL, MySQL, SQLite, and MongoDB
06Dual-logic implementation with both 'up' (apply) and 'down' (rollback) scripts

使用场景

01Standardizing database version control workflows across a development team
02Generating safe migration scripts to add or remove database columns
03Performing structured rollbacks of the most recent database changes