vpatel90 / food-budgeter

1 stars 0 forks source link

Expenditure needs to be removed and replaced #61

Closed vpatel90 closed 7 years ago

vpatel90 commented 7 years ago

Week has_one Expenditure this relationship is very limiting We need to create a new expense record that belongs to a week everytime payment is entered

Expense will have a total and a manner column similar to Meal with a validation for "groceries and restaurants"

vpatel90 commented 7 years ago

Write a reversible migration script - that will create once 'groceries' and one 'restaurants' expense object for every expenditure object