/lib/private/Remote/Api/

le'>1.0-stable Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/db/migrate/20091017213444_add_missing_indexes_to_tokens.rb
blob: 27ce82a935370d7a04e0b7984c02eed7aec1e015 (plain)
1
2
3
4
5
6
7
8
9
class AddMissingIndexesToTokens < ActiveRecord::Migration[4.2]
  def self.up
    add_index :tokens, :user_id
  end

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