How can I build a voting system to support multiple types of objects to vote on?
Posted
by Kyle Hayes
on Stack Overflow
See other posts from Stack Overflow
or by Kyle Hayes
Published on 2010-04-05T18:09:47Z
Indexed on
2010/04/05
18:13 UTC
Read the original article
Hit count: 206
I'm really looking for something very similar to the way SO is setup where a few different kinds of things can be voted on (questions AND answers). What kind of DB schema, generally, could I use to support voting on many different kinds of objects?
Would I have a single Vote table that would have references to other objects in the database? Or do I have to have or should have a separate vote table for each of the objects I would like to vote on.
© Stack Overflow or respective owner