Wheels Migration Generator
OfficialManage database schema changes, pain-free.
Software Engineering#database migration#code generation#ORM#schema management#CFWheels#database development#cross-database
Authorwheels-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of database-agnostic migrations for CFWheels, preventing the use of database-specific SQL and ensuring cross-database compatibility for all your schema changes. It includes critical fixes for common CLI-generated bugs, saving you from silent failures.
Core Features & Use Cases
- Schema Management: Generates migrations for creating/altering tables, adding/removing columns, indexes, and foreign keys.
- Database-Agnostic Code: Emphasizes using CFML date functions and proper formatting to avoid vendor-specific SQL.
- Critical Bug Fixes: Includes mandatory post-CLI-generation fixes for string boolean parameters and guidance on composite index ordering.
- Use Case: Need to add a
poststable withtitle,content, anduserIdcolumns, plus indexes and a foreign key tousers? This skill generates the migration, ensuring it's compatible across different databases and includes crucial fixes to prevent common pitfalls.
Quick Start
Create a new migration file:
wheels g migration CreatePostsTable
Example migration content:
component extends="wheels.migrator.Migration" { function up() { t = createTable(name="posts"); t.string(columnNames="title"); t.create(); } function down() { dropTable("posts"); } }
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: Wheels Migration Generator Download link: https://github.com/wheels-dev/wheels/archive/main.zip#wheels-migration-generator 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 223,000+ vetted skills library on demand.