aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/064_indices_for_annotations.rb
blob: 5b89271feb057a81c04b8f0399a882f7fc5797a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
class IndicesForAnnotations < ActiveRecord::Migration
    def self.up
        add_index :info_request_events, :created_at
        add_index :info_request_events, :info_request_id
    end

    def self.down
        remove_index :info_request_events, :created_at
        remove_index :info_request_events, :info_request_id
    end
end