Database design for email messaging system

后端 未结 9 899
情书的邮戳
情书的邮戳 2021-01-29 22:58

I want to make an email messaging system like gmail have. I would like to have following option: Starred, Trash, Spam, Draft, Read, Unread. Right now I have the below following

9条回答
  •  长发绾君心
    2021-01-29 23:46

    I think you need to decompose your schema some more. Store emails seperately, and map inboxes to the messages they contain.

提交回复
热议问题