added missing event_id foreign key