mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-10 17:38:17 +00:00
13 lines
304 B
Ruby
13 lines
304 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddIpsToEmailDomainBlocks < ActiveRecord::Migration[6.1]
|
|
def change
|
|
safety_assured do
|
|
change_table(:email_domain_blocks, bulk: true) do |t|
|
|
t.column :ips, :inet, array: true
|
|
t.column :last_refresh_at, :datetime
|
|
end
|
|
end
|
|
end
|
|
end
|