Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
This fixes linting issues in the latest version of Rubocop.
  • Loading branch information
thomasleese committed Jul 3, 2024
1 parent bd4d977 commit d645710
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

class ChangeAssessmentReferencesVerified < ActiveRecord::Migration[7.0]
def change
change_column_null :assessments, :references_verified, true
change_column_default :assessments,
:references_verified,
from: false,
to: nil
change_table :assessments, bulk: true do |t|
t.change_null :references_verified, true
t.change_default :references_verified, from: false, to: nil
end
end
end

0 comments on commit d645710

Please sign in to comment.