Decouple posts from threads
Refactor posts' relationship with threads into a polymorphic one-to-many relation. That is, replace the tid
column with postable_id
and postable_type
.
Create a separate injectable asset bundle containing Vue components for creating, viewing and editing posts associated with a postable.
Use cases
- user profile posts
- blog / news (#30) discussions