Closed danpastori closed 2 years ago
Structure:
🏗 Create accounts_allocations
table:
id
accountable_id (Polymorphic ID)
accountable_type (Polymorphic model)
name
amount
updated_at
created_at
🔗 Accounts have many allocations
💡 In the future we can set goals off of allocations. Ex. Save $100 for gifts. 💡 Actions for when the allocated amount changes
We should also have the ability for an account to be allocated or not (turned on or off by the user)
This is one of my biggest frustrations with most financial budgeting software. You have an account that all of your transactions come out of. It's just a pool at this point. What if you are saving for a yearly or longer term purchase? This doesn't directly correlate to a transaction and you don't want to open a new account for each purchase you are saving for.
We need the ability to go into an account, and allocate a part of the account. Essentially these are "pseudo-transactions".