about summary refs log tree commit diff
path: root/db/migrate/20200227214441_add_more_indexes.rb
blob: db4842640ea0382fb0a005fed11138e750761971 (plain) (blame)
1
2
3
4
5
6
7
8
class AddMoreIndexes < ActiveRecord::Migration[5.2]
  def change
    safety_assured do
      add_index :domain_blocks, :severity
      add_index :custom_filters, [:account_id, :phrase], unique: true
    end
  end
end