[
  {
    "type": "insert",
    "description": "Add POS Data Catchup job definition - daily at 3 AM per store (spec 043)",
    "database": "kiosk_buykiosk",
    "check_query": "SELECT id FROM task_job_definitions WHERE name = 'pos-data-catchup' LIMIT 1",
    "sql": "INSERT INTO `task_job_definitions` (`name`, `displayName`, `className`, `schedule`, `queue`, `scope`, `timeout`, `maxRetries`, `retryBackoff`, `config`, `isEnabled`, `notifyOnFailure`, `notifyEmails`) VALUES ('pos-data-catchup', 'POS Data Catchup', 'BuyerKiosk\\\\PosDataCatchup\\\\Jobs\\\\PosDataCatchupJob', '0 3 * * *', 'default', 'per_store', 600, 2, 300, '{\"lookbackDays\": 365, \"batchChunkDays\": 30, \"bufferDays\": 1, \"persistentThresholdDays\": 7}', 1, 1, NULL)"
  }
]
