BudgetSquirrel / BudgetTracker

Budget Tracker allows users to manage their money more efficiently. This API has endpoint to save, create, and manage your budgets and goals.
4 stars 0 forks source link

Delete budget must be recursive #88

Closed ianmann56 closed 5 years ago

ianmann56 commented 5 years ago

Parent Task: #87

When a budget is deleted, all of it's sub-budgets should also get deleted.

Currently, Budgets restrict deletion if a sub budget is foreign keyed to it. The on-delete of the parent budget id property should be a cascade, not a restrict.

BenjaminGroseclose commented 5 years ago

Closed due to Foreign Key constraints.