084ec9289beb7d5bb3baab4f74bac32316268291
- Add `plan_categories` model (id, key, label, color, sort_order, is_active) - Change `work_plan_entries.category` from ENUM plan_category to VARCHAR(50) - Change `work_plan_overrides.category` from ENUM plan_category to VARCHAR(50) - Remove the `plan_category` enum from schema - Seed 7 built-in categories (work, preparation, travel, leave, sick, training, other) Also fixes two pre-existing migration issues that blocked shadow-DB execution: - 20260605122718: swap CREATE INDEX before DROP INDEX so MySQL FK constraint is not broken - 20260514071455_init: fix quotations.project_code VARCHAR(50→100) to match actual DB schema Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
No description provided