aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/076_add_indices.rb
blob: 50fc1e3eab0cb16aef025c5a58b3f9ca7d048f8c (plain)
1
2
3
4
5
6
7
8
9
10
# -*- encoding : utf-8 -*-
class AddIndices < ActiveRecord::Migration
  def self.up
    add_index :track_things_sent_emails, :track_thing_id
  end

  def self.down
    remove_index :track_things_sent_emails, :track_thing_id
  end
end