Take for an instance the 'facemash'(zuckerberg's) where the pictures were compared. now if i have an account for every user of mine and i am kinda doing the same thing where the user like one or the other out of many different pairs.
now in the database i am using 
USER\_ID USER\_USERNAME USER\_PASSWORD USER\_NAME
now i am having trouble in keeping the tracks of the likes that the user has clicked. 
In my case i might be having around 10 pairs only so i was thinking about adding 10 more columns in the user database and keeping the track of each pair by adding either 1 or 0.
i know its a really crude solution but i also will have another database that will have the all the entries and keep sum of all the likes for that particular file.
kindly suggest me the right way to do this?