nas/db/migrate/20230426013738_add_excludes_to_antennas.rb

19 lines
424 B
Ruby

# frozen_string_literal: true
class AddExcludesToAntennas < ActiveRecord::Migration[6.1]
def change
change_table :antennas, bulk: true do |t|
t.jsonb :exclude_domains
t.jsonb :exclude_accounts
t.jsonb :exclude_tags
end
end
def down
change_table :antennas, bulk: true do |t|
t.remove :exclude_domains
t.remove :exclude_accounts
t.remove :exclude_tags
end
end
end