i wanna create a 2 level status message system. Which is the best way to create a tables ?
Scope:
- User sets a Status Message
- Users Reply to the status message
this is a picture showing it
Tables i have created
users (id, name .... ) status_messages (id, message, time, user_id) status_message_replies (id, message, time, status_message_id, user_d)
Some one suggested this can be done in a single table format
status_messages (id, pid, message, time, user_id)
where pid = selfId or ParentId of the status.
I wanna know which is the best method to create the system ?