Migration Creator

•
59k
•
已认领
管理

Generates sequentially numbered database migration files with corresponding up and down SQL scripts.

The Migration Creator skill streamlines database schema evolution by automating the generation of migration files within the Ruflo framework for Claude Code. It intelligently calculates the next sequential migration number, selects appropriate SQL templates based on specific naming conventions—such as table creation, column modifications, or index generation—and produces paired up/down scripts for idempotent deployments. By integrating with internal memory storage, the skill ensures that all migration metadata is tracked, enabling seamless coordination across autonomous workflows and multi-agent systems.

主要功能

0159,149 GitHub stars
02Automatic sequential file numbering with zero-padding
03Integration with Ruflo memory store for status tracking
04Paired up/down SQL file generation for reversible changes
05Pattern-based SQL template selection for tables, columns, and indexes
06Idempotent script generation using IF NOT EXISTS logic

使用场景

01Adding or dropping database columns with automatic audit tracking
02Initializing new database tables with standardized SQL boilerplate
03Managing complex schema versions across collaborative development teams