summaryrefslogtreecommitdiffstats
path: root/db/migrate/20091017212938_add_missing_indexes_to_repositories.rb
blob: b9f43b6df9aafa5b2232e7e95595056d51785dda (plain)
1
2
3
4
5
6
7
8
9
class AddMissingIndexesToRepositories < ActiveRecord::Migration
  def self.up
    add_index :repositories, :project_id
  end

  def self.down
    remove_index :repositories, :project_id
  end
end