E
E
Eugene2021-02-13 20:37:56
Database design
Eugene, 2021-02-13 20:37:56

What structure for the database to choose?

For educational purposes, I want to write a simple online diary. I think about the database structure, that is, there is a user (table with users, Id, name, data ...), and each user has a to-do list, and the task must be scheduled for a certain date.
The first thing that came to my mind was to make a separate table for each user where to store the to-do list (id, name, date). But for some reason it seems that there is a more correct way, I didn’t work much with databases before, I ask for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-02-14
@bacon

For educational purposes, you just need to implement it the way you want, work with it, and then only it will become clear what you did or didn’t do.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question