simon-andrews / movieman2

MovieMan 2: Django Boogaloo
MIT License
0 stars 0 forks source link

Votes table #14

Open Math-ias opened 9 years ago

Math-ias commented 9 years ago

Instead of having a vote count on each row of the movie table, there should be a votes table that tracks who voted for what. While this information won't necessarily be displayed, in fact I don't think it should as that will affect if users vote for movies or not, the votes table would also include things like the date of when it was upvoted, this will be good data for fancy graphs that I want to be on the page.

It might be useful to brainstorm what columns to create such as:

simon-andrews commented 9 years ago

I like it. Perhaps a Vote model? Keeping track of votes would be a good thing so that scores can be validated to make sure no one is rigging the system.

The vote count field is for the vote count on TMDb. I should have documented that; my bad. I'll be making a big documentation commit sometime soon.