Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20130710164015_add_db_index.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4907fae888be29b8d5f1181406b6849a98ff173e (plain)
1
2
3
4
5
6
7
class AddDbIndex < ActiveRecord::Migration
  def change
    add_index :builds, :runner_id
    add_index :runner_projects, :runner_id
    add_index :runner_projects, :project_id
  end
end