Problem
Currently, deleting a note from the notes database does not delete the corresponding noteSettings and teams
Expected result
When deleting a note, the data like noteSettings and teams associated with it must also be deleted from other databases
Task