Remove primary key for history table.