mastodon/db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb
2024-12-11 15:50:50 +00:00

7 lines
289 B
Ruby

# frozen_string_literal: true
class ChangeCanonicalEmailBlocksNullable < ActiveRecord::Migration[6.1]
def change
safety_assured { change_column :canonical_email_blocks, :reference_account_id, :bigint, null: true, default: nil } # rubocop:disable Rails/ReversibleMigration
end
end