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

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