[
  {
    "type": "alter_table",
    "description": "Add recurrenceExceptions column for storing excluded dates in recurring shift series",
    "database": "{{store}}",
    "check_query": "SELECT COLUMN_NAME FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'scheduleShifts' AND COLUMN_NAME = 'recurrenceExceptions' LIMIT 1",
    "sql": "ALTER TABLE scheduleShifts ADD COLUMN recurrenceExceptions TEXT NULL COMMENT 'JSON array of excluded dates e.g. [\"2026-04-18\"]' AFTER recurrenceEndDate"
  }
]
