ALTER TABLE `usernotes` DROP PRIMARY KEY ; ALTER TABLE `usernotes` ADD UNIQUE ( `useruuid` , `targetuuid` );