[
  {
    "type": "alter_table",
    "description": "Drop the stores.keepRegisterCheckoutsOnQueue per-store toggle (added 2026-06-17, reverted). Obsolete: BuyerKiosk's isProcessed flag is the single source of truth for queue membership, and DRS register actions only touch already-completed (isProcessed=1) buys, so no per-store opt-in is needed. The check_query returns an empty set when the column still exists (run the drop) and one row when it is already gone (skip), matching the default check semantics so fresh setups self-skip.",
    "database": "kiosk_buykiosk",
    "check_query": "SELECT 1 AS gone FROM dual WHERE NOT EXISTS (SELECT 1 FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'kiosk_buykiosk' AND TABLE_NAME = 'stores' AND COLUMN_NAME = 'keepRegisterCheckoutsOnQueue')",
    "sql": "ALTER TABLE `stores` DROP COLUMN `keepRegisterCheckoutsOnQueue`"
  }
]
