Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
neb417 committed Jul 11, 2024
1 parent 0251b57 commit 63a8fe2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions db/data/20240711124610_create_tax_tables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

class CreateTaxTables < ActiveRecord::Migration[7.0]
def up
FederalTaxBracket.create(tier: 'Tier 1', bottom_range: 0, top_range: 23_200, rate: 0.1, cumulative: 0)
FederalTaxBracket.create(tier: 'Tier 2', bottom_range: 23_001, top_range: 94_300, rate: 0.12, cumulative: 2_320)
FederalTaxBracket.create(tier: 'Tier 3', bottom_range: 94_301, top_range: 201_050, rate: 0.22, cumulative: 10_852)
FederalTaxBracket.create(tier: 'Tier 4', bottom_range: 201_051, top_range: 383_900, rate: 0.24, cumulative: 34_337)
FederalTaxBracket.create(tier: 'Tier 5', bottom_range: 383_901, top_range: 487_450, rate: 0.32, cumulative: 78_221)
FederalTaxBracket.create(tier: 'Tier 6', bottom_range: 487_451, top_range: 731_200, rate: 0.35, cumulative: 111_357)
FederalTaxBracket.create(tier: 'Tier 7', bottom_range: 731_201, top_range: 10_000_000, rate: 0.35, cumulative: 196_669)
FederalTaxBracket.create(tier: "Tier 1", bottom_range: 0, top_range: 23_200, rate: 0.1, cumulative: 0)
FederalTaxBracket.create(tier: "Tier 2", bottom_range: 23_001, top_range: 94_300, rate: 0.12, cumulative: 2_320)
FederalTaxBracket.create(tier: "Tier 3", bottom_range: 94_301, top_range: 201_050, rate: 0.22, cumulative: 10_852)
FederalTaxBracket.create(tier: "Tier 4", bottom_range: 201_051, top_range: 383_900, rate: 0.24, cumulative: 34_337)
FederalTaxBracket.create(tier: "Tier 5", bottom_range: 383_901, top_range: 487_450, rate: 0.32, cumulative: 78_221)
FederalTaxBracket.create(tier: "Tier 6", bottom_range: 487_451, top_range: 731_200, rate: 0.35, cumulative: 111_357)
FederalTaxBracket.create(tier: "Tier 7", bottom_range: 731_201, top_range: 10_000_000, rate: 0.35, cumulative: 196_669)
end

def down
Expand Down

0 comments on commit 63a8fe2

Please sign in to comment.