I have a table:
table votes ( id, user, email, address, primary key(id), );
Now I want to make the columns user
ALTER TABLE `votes` ADD UNIQUE `unique_index`(`user`, `email`, `address`);