Adds database indexes to posts, votes, and users