drop trigger if exists reward_after_insert;
DELIMITER // 
create trigger reward_after_insert after insert on dbr_reward
    for each row begin
        call reward_bd_act('reward', new.id, 0);
    end//
DELIMITER ;