Wheels Migration Generator

•
81
•

Generates database-agnostic schema migrations for CFWheels applications to ensure cross-database compatibility and consistent deployment.

The Wheels Migration Generator is a specialized tool for CFWheels developers that automates the creation of database-agnostic migrations for creating tables, altering schemas, and managing seed data. It enforces critical best practices such as correct file placement in the 'app/migrator/migrations/' directory and prevents common pitfalls like database-specific SQL functions or duplicate timestamp columns. By automatically correcting common CLI generator bugs—such as the string-boolean parameter error—this skill ensures that your database changes are reliable, transactional, and portable across various database engines.

Características Principales

0181 GitHub stars
02Cross-database safe date formatting for data seeding and migrations.
03Automated fixes for CFWheels CLI string-boolean parameter bugs.
04Automatic timestamp management including soft-delete (deletedAt) support.
05Standardized transaction-wrapped migration templates with error handling.
06Database-agnostic schema generation for tables, indexes, and foreign keys.

Casos de Uso

01Modifying existing schema structures like adding, renaming, or removing columns.
02Performing data migrations and seeding across different environment types.
03Creating new database tables with complex relationships and constraints.