G
G
Grag2014-07-11 23:30:33
MySQL
Grag, 2014-07-11 23:30:33

Where can I find examples of common DB structures for different things?

Hello.
Where can I find examples of the implementation of various common things at the database level, such as comments for comments, likes for posts, etc.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-07-11
@Grag

dbpatterns.com
More specifically: likes .
Unfortunately, the project is still raw, I don’t find any banal trees there, but you can always contribute.
About the comments - you need tree structures. Usually such things are done using the parent-child (adjacency) model.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question