Change subreddit primary key type
Refactor voting view