2023-07-12 07:47:08 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-02-24 16:28:23 +00:00
|
|
|
class AddIpsToEmailDomainBlocks < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
2023-11-06 16:15:48 +00:00
|
|
|
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
|
2022-02-24 16:28:23 +00:00
|
|
|
end
|
|
|
|
end
|