Closed megan-godfrey closed 2 years ago
Added a migration to calculate the risk cost when a cost log is created and store in the database.
Also added a data migration for updating existing records to calculate and store the risk cost.
Requires running rails db:migrate:with_data at command line.
rails db:migrate:with_data
Closes #55
Added a migration to calculate the risk cost when a cost log is created and store in the database.
Also added a data migration for updating existing records to calculate and store the risk cost.
Requires running
rails db:migrate:with_data
at command line.Closes #55