There is such a scheme:
- The system has many users
- Each user has more than one to-do list
- Each list, of course, has "cases" that need to be done, and they, in turn, can be marked as done
I have ideas for now
1 table:
[User] id, name, pass... 2 table:
[List] id(int), user_id(int), name(varchar), description(varchar) 3 table:
[Task] id(int), list_id(int), text(varchar), done(bool) QUESTION:
How to simplify the data schema so that later you don’t have to worry about writing logic?