ALTER TABLE finanto_inss_cases
    ADD COLUMN stage VARCHAR(30) NOT NULL DEFAULT 'capture' AFTER webhook_last_payload,
    ADD COLUMN in100_payload MEDIUMTEXT NULL AFTER stage,
    ADD COLUMN in100_checked_at DATETIME NULL AFTER in100_payload,
    ADD COLUMN consent_given_at DATETIME NULL AFTER in100_checked_at,
    ADD COLUMN consent_ip VARCHAR(45) NULL AFTER consent_given_at,
    ADD COLUMN offers_generated_at DATETIME NULL AFTER consent_ip,
    ADD COLUMN last_customer_selection_at DATETIME NULL AFTER offers_generated_at,
    ADD COLUMN selection_summary JSON NULL AFTER last_customer_selection_at;
