DELETE FROM qipai_schema_migrations WHERE version = '2026062218';
ALTER TABLE qipai_profit_shares
  DROP INDEX uq_qipai_profit_share_payment_receiver,
  DROP INDEX uq_qipai_profit_share_request,
  DROP FOREIGN KEY fk_qipai_profit_share_receiver,
  DROP FOREIGN KEY fk_qipai_profit_share_account,
  DROP COLUMN raw_response,
  DROP COLUMN failure_code,
  DROP COLUMN percentage_bps,
  DROP COLUMN batch_request_id,
  DROP COLUMN client_request_id,
  DROP COLUMN receiver_id,
  DROP COLUMN collection_account_id;
DROP TABLE IF EXISTS qipai_profit_share_policies;
DROP TABLE IF EXISTS qipai_profit_share_receivers;
DROP TABLE IF EXISTS qipai_collection_accounts;
