1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-13 22:28:23 +09:00
mastodon/db/migrate/20220827195229_change_canonical_email_blocks_nullable.rb

8 lines
245 B
Ruby
Raw Normal View History

# 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