[
  {
    "type": "alter_table",
    "description": "Add homebaseApiKey column to stores table for Homebase integration",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM stores LIKE 'homebaseApiKey'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `homebaseApiKey` varchar(255) DEFAULT NULL COMMENT 'Homebase API key for employee sync' AFTER `wiwLocationID`"
  },
  {
    "type": "alter_table",
    "description": "Add homebaseLocationId column to stores table for Homebase integration",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM stores LIKE 'homebaseLocationId'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `homebaseLocationId` varchar(50) DEFAULT NULL COMMENT 'Homebase location ID for employee sync' AFTER `homebaseApiKey`"
  },
  {
    "type": "alter_table",
    "description": "Add homebaseEnable column to stores table for enabling Homebase integration",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM stores LIKE 'homebaseEnable'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `homebaseEnable` tinyint(1) unsigned DEFAULT 0 COMMENT 'Enable Homebase integration' AFTER `homebaseLocationId`"
  }
]
