[
  {
    "type": "create_table",
    "description": "Create buyQueueDisplayConfig table for per-store digital sign buy queue text-size customization",
    "database": "kiosk_buykiosk",
    "check_query": "SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'kiosk_buykiosk' AND TABLE_NAME = 'buyQueueDisplayConfig'",
    "sql": "CREATE TABLE `buyQueueDisplayConfig` (\n  `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,\n  `typeNum` VARCHAR(10) NOT NULL COMMENT 'Store identifier',\n  `waitTimeSize` SMALLINT UNSIGNED NOT NULL DEFAULT 28 COMMENT 'Wait time number font size in px',\n  `waitTimeLabelSize` SMALLINT UNSIGNED NOT NULL DEFAULT 18 COMMENT 'Estimated Wait Time label font size in px',\n  `sectionHeadingSize` SMALLINT UNSIGNED NOT NULL DEFAULT 22 COMMENT 'Current Queue / Last Completed heading font size in px',\n  `currentQueueSize` SMALLINT UNSIGNED NOT NULL DEFAULT 28 COMMENT 'Current queue customer rows font size in px',\n  `currentQueueMetaSize` SMALLINT UNSIGNED NOT NULL DEFAULT 22 COMMENT 'Current queue badge / buyer meta font size in px',\n  `lastCompletedSize` SMALLINT UNSIGNED NOT NULL DEFAULT 30 COMMENT 'Last completed customer rows font size in px',\n  `updatedAt` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n  `updatedBy` INT UNSIGNED DEFAULT NULL COMMENT 'uf_user.id who last updated',\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `uk_typeNum` (`typeNum`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Per-store buy queue digital sign font size customization'"
  }
]
