Skip to content

Commit

Permalink
Update savings migration. Reset db.
Browse files Browse the repository at this point in the history
  • Loading branch information
neb417 committed Jul 11, 2024
1 parent 3061242 commit 583c88e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/data/20240711132613_create_savings_rates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

class CreateSavingsRates < ActiveRecord::Migration[7.0]
def up
SavingsRate.create(name: "savings", rate: 0.2)
SavingsRate.create(name: "investing", rate: 0.2)
SavingsRate.create(name: "savings", rate: 0.02)
SavingsRate.create(name: "investing", rate: 0.02)
end

def down
Expand Down
3 changes: 3 additions & 0 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 583c88e

Please sign in to comment.