Skip to content

Commit

Permalink
ignoring rubocop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tclaus committed Aug 19, 2022
1 parent 17a988d commit de58572
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/migrate/20210421064041_add_action_to_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ class AddActionToReport < ActiveRecord::Migration[5.2]
def change
add_column :reports, :action, :string

# rubocop:disable Rails/SkipsModelValidations
Report.update_all(action: Report::STATUS_NO_ACTION)
# rubocop:enable Rails/SkipsModelValidations
end
end

0 comments on commit de58572

Please sign in to comment.