adding index and unique true to event_id, instead of overriding object id