-- 更新代理预充值状态检查约束，新增驳回状态（6）
ALTER TABLE tb_agent_recharge_record
    DROP CONSTRAINT IF EXISTS chk_agent_recharge_status;

ALTER TABLE tb_agent_recharge_record
    ADD CONSTRAINT chk_agent_recharge_status CHECK (status IN (1, 2, 3, 4, 5, 6));
