CMPUT301F21T23 / HabitTracker

2 stars 1 forks source link

Delete Habit Events when deleting Habits #149

Closed PaoVal closed 2 years ago

PaoVal commented 3 years ago

This issue is related to user story #16

There is currently a bug that does not affect functionality. However, we want to ensure we are taking the proper steps to build this application. Currently, when a habit is deleted, the habit event sub collection remains in the database. This cannot continue. The sub collection must be deleted as well. Implement a solution to recursively delete all habit events belonging to a habit when the habit is deleted.