Skip to content

Commit

Permalink
Fix hourly income rate in data migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
neb417 committed Jul 11, 2024
1 parent 583c88e commit edca4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/data/20240711125841_create_incomes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class CreateIncomes < ActiveRecord::Migration[7.0]
def up
Income.create(income_type: "Salary", rate: 100000, hours: 40, weekly_income: 1923.08)
Income.create(income_type: "Hourly", rate: 4700, hours: 40, weekly_income: 1880.0)
Income.create(income_type: "Hourly", rate: 47, hours: 40, weekly_income: 1880.0)
end

def down
Expand Down

0 comments on commit edca4e1

Please sign in to comment.