[
  {
    "type": "alter_table",
    "description": "Add missing destination column to cashActivity - code (CashActivityMapper/Repository) writes and reads it but the original create-table migration omitted it, causing every Sync register/safe POST to 500 with 'Unknown column destination' and silently save nothing",
    "database": "{{store}}",
    "check_query": "SELECT COLUMN_NAME FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'cashActivity' AND COLUMN_NAME = 'destination'",
    "sql": "ALTER TABLE `cashActivity` ADD COLUMN `destination` varchar(100) DEFAULT 'None' COMMENT 'Where cash moved to/from: None, Safe, or vendor name (mapped from client vendor field)' AFTER `register`"
  }
]
