Code Review

`vote_type` is a bit confusing here.  When vote_type is true, is that an up-vote?

I might rename this column to 'upvote'.  That way, it's clear that when it's true, it's an upvote and when it's false, I can pretty safely assume it's a downvote.