removed encrypted_id column from event table