Home  >  Article  >  Backend Development  >  微博转发功能的数据表 该怎样设计解决方案

微博转发功能的数据表 该怎样设计解决方案

WBOY
WBOYOriginal
2016-06-13 13:44:321968browse

微博转发功能的数据表 该怎样设计
微博的
转发功能 的数据表
是新加一条消息标识为转发
还是新建一张表
还是加到评论里面 表示为转发

------解决方案--------------------
这个数据库没做过,
我想应该这样,

等于发1条微博“转发标示字段”上填入转发的原微博ID号 ,

查询是否存在转发ID号,存在则展示成转发 

转发时如果选择评论则写入微博ID评论表

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn