Add a post model and table.
Add a user model and table.
Add 1:M relation between User and Post.
Add a comment model and has 1:M relation between User and Post.
Add a category model and table.
Add a join table posts_categories for M:M association between Post and Category.