summaryrefslogtreecommitdiff
path: root/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb
blob: f0979f21cbed1d6f629d947a05ff84ba7effd71d (plain)
1
2
3
4
5
6
7
8
9
class AddMissingIndexesToTokens < ActiveRecord::Migration
  def self.up
    add_index :tokens, :user_id
  end

  def self.down
    remove_index :tokens, :user_id
  end
end