What problem does it solve?
This Skill eliminates the risk of broken OrangeHRM database upgrades, failed schema changes, and inconsistent version states by providing a complete reference for the project's custom migration system, covering both fresh installs and existing instance upgrades.
Core Features & Use Cases
- Migration System Reference: Covers the installer vs upgrader entry points, the MIGRATIONS_MAP registry, and the AbstractMigration contract for authoring new migrations.
- Helper Class Guidance: Documents SchemaHelper for Doctrine DBAL schema changes, LangStringHelper for i18n string updates, ConfigHelper for hs_hr_config writes, and DataGroupHelper for permission seeding.
- Use Cases: Use this Skill when writing new migrations for a release, bumping the product version, debugging failed migration runs, recovering half-applied schema changes, or answering questions about how install vs upgrade processes select which migrations to execute.
Quick Start
Use the migrations skill to create a new forward-only database migration for the next OrangeHRM release that adds a custom column to the employee table and updates the associated language strings.