Added getAll(), update(), delete() methods for alerts table in db.