ALTER TABLE finanto_inss_cases
    ADD COLUMN in100_query_id CHAR(36) NULL AFTER in100_payload,
    ADD COLUMN in100_contracts_json MEDIUMTEXT NULL AFTER in100_query_id,
    ADD COLUMN in100_items_json MEDIUMTEXT NULL AFTER in100_contracts_json,
    ADD COLUMN authorization_operator_id INT UNSIGNED NULL AFTER consent_ip,
    ADD COLUMN authorization_signed_at DATETIME NULL AFTER authorization_operator_id,
    ADD COLUMN authorization_ip VARCHAR(45) NULL AFTER authorization_signed_at,
    ADD COLUMN authorization_note TEXT NULL AFTER authorization_ip,
    ADD COLUMN authorization_payload MEDIUMTEXT NULL AFTER authorization_note,
    ADD COLUMN signed_payload MEDIUMTEXT NULL AFTER loan_payload,
    ADD COLUMN signed_at DATETIME NULL AFTER signed_payload;
