drop trigger if exists credit_after_insert;
DELIMITER // 
create trigger credit_after_insert after insert on dbr_credit
    for each row begin
        call credit_bd_act('credit', new.id, 0);
    end//
DELIMITER ;