Message system table setup

2009-07-14 Thread Dave Maharaj :: WidePixels.com
I was curious how to approach this idea. A user can send a message to another user but how would you define the table? id user_id = person receiving from_id =person sending title message created user hasMany messages but how would you determine that both users get the message? Would you

Re: Message system table setup

2009-07-14 Thread John Andersen
Hi Dave, What are the requirements for the messages regarding: 1) deletion by either the sender or the receiver? For example: the sender deletes the message, but the message must still be viewable by the receiver! 2) multiple receivers? For example: to a group, do each group member get the