tootlab-mastodon/db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb

8 lines
245 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 }
end
end