This skill streamlines the creation of database migrations for CFWheels applications, ensuring cross-database compatibility by avoiding platform-specific SQL. It enforces critical best practices such as correct file placement in the app/migrator/migrations directory, proper use of timestamps for soft-delete support, and database-agnostic date formatting. The skill also provides essential production-tested fixes for common CLI generator bugs, specifically addressing issues with string-based boolean parameters that can lead to silent failures in table creation.
주요 기능
01Pre-configured transactional blocks with robust error handling and rollbacks
0281 GitHub stars
03Database-agnostic syntax enforcement for cross-platform compatibility
04Automated migration boilerplate for table creation and schema alterations
05Standards-compliant data seeding with cross-database date formatting
06Fixes for CLI-specific bugs involving string-based boolean parameters
사용 사례
01Migrating production data without writing database-specific SQL functions
02Building and modifying relational database schemas within CFWheels applications
03Implementing soft-delete functionality using standardized timestamp columns