Each entity like Task and TaskList should probably have a reference to the ID of its parent. For Task this is TaskList, for TaskList this is Board etc.
This isn't necessary hence why we didn't do it but it would prevent many possible problems later on and just generally makes more sense. This will also be handy when we introduce archiving and undo deletes/archives.
Each entity like
Task
andTaskList
should probably have a reference to the ID of its parent. ForTask
this isTaskList
, forTaskList
this isBoard
etc. This isn't necessary hence why we didn't do it but it would prevent many possible problems later on and just generally makes more sense. This will also be handy when we introduce archiving and undo deletes/archives.