Enable Rails/ReversibleMigration
cop (#33264)
This commit is contained in:
parent
315c170910
commit
43702b95a2
4 changed files with 16 additions and 7 deletions
|
@ -2,6 +2,6 @@
|
|||
|
||||
class ChangeCanonicalEmailBlocksNullable < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
safety_assured { change_column :canonical_email_blocks, :reference_account_id, :bigint, null: true, default: nil }
|
||||
safety_assured { change_column :canonical_email_blocks, :reference_account_id, :bigint, null: true, default: nil } # rubocop:disable Rails/ReversibleMigration
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue