I have a table:
table votes ( id, user, email, address, primary key(id), );
Now I want to make the columns user
This works for mysql version 5.5.32
ALTER TABLE `tablename` ADD UNIQUE (`column1` ,`column2`);