-- 回滚订单操作者权威快照字段与佣金业务结果字段

DROP INDEX IF EXISTS idx_orders_commission_result;
DROP INDEX IF EXISTS idx_orders_operator_account_id;

ALTER TABLE tb_order
    DROP COLUMN IF EXISTS commission_result,
    DROP COLUMN IF EXISTS operator_account_name,
    DROP COLUMN IF EXISTS operator_account_type,
    DROP COLUMN IF EXISTS operator_account_id;

COMMENT ON COLUMN tb_order.commission_status IS '佣金状态 1-待计算 2-已计算';
