-- 回滚直接换货流程字段与索引
DROP INDEX IF EXISTS idx_exchange_order_completed_at;
DROP INDEX IF EXISTS idx_exchange_order_new_asset;
DROP INDEX IF EXISTS idx_exchange_order_flow_status;

ALTER TABLE tb_exchange_order
    DROP COLUMN IF EXISTS completed_at,
    DROP COLUMN IF EXISTS shipped_at,
    DROP COLUMN IF EXISTS flow_type;
