Home > Backend Development > PHP Tutorial > javascript - Database design issues regarding Timeline functionality?

javascript - Database design issues regarding Timeline functionality?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-03-03 10:06:02
Original
1256 people have browsed it

javascript - Database design issues regarding Timeline functionality?

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?

Reply content:

javascript - Database design issues regarding Timeline functionality?

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>
Copy after login
Related labels:
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template