I have a table:
table votes ( id, user, email, address, primary key(id), );
Now I want to make the columns user
Have you tried this ?
UNIQUE KEY `thekey` (`user`,`email`,`address`)