Corrected db layout

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-06-25 01:34:08 +10:00
parent cfa151c8a1
commit 19ced7f907

4
db
View file

@ -4,8 +4,8 @@ topLevel secondLevel tile
-------- ----------- ---- -------- ----------- ----
id <int> <pk> <-| id <int> <pk> <-| id <int> <pk> id <int> <pk> <-| id <int> <pk> <-| id <int> <pk>
name <str> |------ parent_id <int> |------ parent_id <int> name <str> |------ parent_id <int> |------ parent_id <int>
status_id <int> name <str> name <int> status_id <int> name <str> status_id <int>
| status_id <int> status_id <int> | status_id <int> |
| | | | | |
| v | | v |
|---------------------->|<----------------------| |---------------------->|<----------------------|