Fix missing primary key on Event entity.