i was gonna build activity system based on one of the user post from How to implement the activity stream in a social network and i was wondering if should i put reply comments on separate table or should i keep it in same table. btw reply is same as replying to any activity on facebook and it shows right under it. so i think if i keep it separate, then the query will load slow, no?
Share
i think comments should go into a separate table. there might be multiple comments for one activity so you need a 1<->* relation with this comment table. if you use the same table for activities and comments it must be possible to attach a parent to this table. parent = activity, children = comments.