backend-migrations
Create database migrations following Laravel best practices with reversible up/down methods, focused single-purpose changes, proper index management, and clear naming conventions. Use this skill when creating new database tables, adding or modifying columns in existing tables, creating or dropping indexes, implementing foreign key constraints, renaming tables or columns, or managing database schema changes. This skill applies when working on migration files in database/migrations/ directory, generating new migrations via artisan commands, or ensuring zero-downtime deployments with backwards-compatible schema changes.
Installation and usage
Create database migrations following Laravel best practices with reversible up/down methods, focused single-purpose changes, proper index management, and clear naming conventions. Use this skill when creating new database tables, adding or modifying columns in existing tables, creating or dropping indexes, implementing foreign key constraints, renaming tables or columns, or managing database schema changes. This skill applies when working on migration files in database/migrations/ directory, generating new migrations via artisan commands, or ensuring zero-downtime deployments with backwards-compatible schema changes.
安装后,您可以通过在终端运行以下命令来使用此技能:
skills use backend-migrations