Added foreign key to posts.