20220224010024_add_ips_to_email_domain_blocks.rb 304 B

123456789101112
  1. # frozen_string_literal: true
  2. class AddIpsToEmailDomainBlocks < ActiveRecord::Migration[6.1]
  3. def change
  4. safety_assured do
  5. change_table(:email_domain_blocks, bulk: true) do |t|
  6. t.column :ips, :inet, array: true
  7. t.column :last_refresh_at, :datetime
  8. end
  9. end
  10. end
  11. end