aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/064_indices_for_annotations.rb
blob: 88e267c64cd4b90732644373fa06439bcf2edb9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- encoding : utf-8 -*-
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