Schema updated for threads/posts relationship