[
  {
    "type": "alter_table",
    "description": "Spec 050 Kiosk API v1: add stores.receiptConfig JSON. Server-side source for the kiosk RECEIPT rendering config (print toggles, Pass Reasons / Things We Liked / Most Wanted checklists, Most Wanted placement, cash+credit / referral / designer-handbag / DL-mask toggles, pickup text, store hours, footer) — authored in the Tablet admin page, served in GET /api/v1/config under config.receipt, and (initially) backfilled from the legacy PASS/LIKED/NEEDS tables + stores receipt columns. NULL = nothing authored yet (assembler emits documented defaults). Net-new, additive, nullable — no data migration, all v1 endpoints keep working pre-migration via graceful fallback.",
    "database": "kiosk_buykiosk",
    "check_query": "SELECT COLUMN_NAME FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'kiosk_buykiosk' AND TABLE_NAME = 'stores' AND COLUMN_NAME = 'receiptConfig'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `receiptConfig` JSON DEFAULT NULL COMMENT 'Spec 050: kiosk receipt rendering config served under /api/v1/config config.receipt. NULL = use defaults.'"
  }
]
