remove primary key when archiving session