[
  {
    "type": "alter_table",
    "description": "Add openShiftClaimPolicy column to stores table - controls how open shift claims are handled",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM `stores` LIKE 'openShiftClaimPolicy'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `openShiftClaimPolicy` enum('require_all','auto_approve_qualified','first_come') NOT NULL DEFAULT 'require_all' COMMENT 'Open shift claim approval policy: require_all=manager approves all, auto_approve_qualified=auto for qualified employees, first_come=first claim wins'"
  },
  {
    "type": "alter_table",
    "description": "Add allowDirectReassignment column to stores table - controls whether managers can force-reassign shifts",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM `stores` LIKE 'allowDirectReassignment'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `allowDirectReassignment` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Allow managers to directly reassign shifts without employee consent'"
  }
]
