aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/091_add_censor_rules_indices.rb
blob: 59f5db6ccb886ead41a0a0f534c752954bd220bc (plain)
1
2
3
4
5
6
7
8
9
10
11
class AddCensorRulesIndices < ActiveRecord::Migration
  def self.up
    add_index :censor_rules, :info_request_id
    add_index :censor_rules, :user_id
    add_index :censor_rules, :public_body_id
  end

  def self.down
    raise "no down"
  end
end