Remove primary key and add unique constraint.