Am trying to build a conversation system for users on a web app am working on.
At the the moment am quite confused on how to setup the database tables.
for now i have a table with fields this
-
C_id
-
Message
- S_id
- R_id
- read
- date_time
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming your table is a conversation table (C_id), I would have three tables in all:
You look to have the third, but have collapsed the other two together. The relevant fields would be: