Concentric
Expert Member
- Joined
- Feb 16, 2017
- Messages
- 1,028
- Reaction score
- 197
Im in the process of building a personal finance tracking app.
Im looking for a solution for one part of my database.
Each category is linked to multiple transactions (1:m) by way of a category_id fk in each transaction.
Each category is also linked to multiple budgets. That is each category will have a new budget for every month.
Im not sure how to define the relationship between the category and its budgets.
Ive the best ive come up with is a unique id per budget with a category_id fk and then the budgeted amount.
Is there a better way?
TIA
Edit: just realized that i posted in the wrong software section.
@mods if you can move it please
Im looking for a solution for one part of my database.
Each category is linked to multiple transactions (1:m) by way of a category_id fk in each transaction.
Each category is also linked to multiple budgets. That is each category will have a new budget for every month.
Im not sure how to define the relationship between the category and its budgets.
Ive the best ive come up with is a unique id per budget with a category_id fk and then the budgeted amount.
Is there a better way?
TIA
Edit: just realized that i posted in the wrong software section.
@mods if you can move it please
