create votes table, and setup the association to user/post/comment
implementation feature of voting post
implementation feature of voting comment
restrict user can only vote on a post/comment once