As shown in the picture, this kind of Timeline is how the masters would design the database.
Then what’s a better way to make a query?
As shown in the picture, this kind of Timeline is how the masters would design the database.
Then what’s a better way to make a query?
Design a database specifically to collect user operation information. The design of the database may be as follows
<code>id 序号 info_type 信息类型(published,uploaded,purchased ...) user_id 用户id timeline_show 显示在时间线 created_at deleted_at</code>