drop trigger if exists users_before_delete;
DELIMITER // 
create trigger users_before_delete before delete on users
    for each row begin
        delete from dbr_user_ext where id = old.id;
    end//
DELIMITER ;