chinwagsocial/db/migrate/20220224010024_add_ips_to_email_domain_blocks.rb

8 lines
244 B
Ruby

# frozen_string_literal: true
class AddIpsToEmailDomainBlocks < ActiveRecord::Migration[6.1]
def change
add_column :email_domain_blocks, :ips, :inet, array: true
add_column :email_domain_blocks, :last_refresh_at, :datetime
end
end