[
  {
    "type": "alter_table",
    "description": "Add billingBaseRateOverride column to stores table",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM `stores` LIKE 'billingBaseRateOverride'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `billingBaseRateOverride` decimal(10,2) DEFAULT NULL COMMENT 'Custom base rate override for this store' AFTER `billingDiscountDate`"
  },
  {
    "type": "alter_table",
    "description": "Add billingPremiumRate column to stores table",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM `stores` LIKE 'billingPremiumRate'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `billingPremiumRate` decimal(10,2) NOT NULL DEFAULT 30.00 COMMENT 'Premium module rate per month' AFTER `billingBaseRateOverride`"
  },
  {
    "type": "alter_table",
    "description": "Add billingContactEmail column to stores table",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM `stores` LIKE 'billingContactEmail'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `billingContactEmail` varchar(255) DEFAULT NULL COMMENT 'Billing contact email address' AFTER `billingPremiumRate`"
  },
  {
    "type": "alter_table",
    "description": "Add billingConfigUpdatedAt column to stores table",
    "database": "kiosk_buykiosk",
    "check_query": "SHOW COLUMNS FROM `stores` LIKE 'billingConfigUpdatedAt'",
    "sql": "ALTER TABLE `stores` ADD COLUMN `billingConfigUpdatedAt` datetime DEFAULT NULL COMMENT 'Last update to billing configuration' AFTER `billingContactEmail`"
  }
]
