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

20151016195451_add_ci_builds_and_projects_indexes.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7f1af1c758307f65a568079ddbe7aa9e635cc4e2 (plain)
1
2
3
4
5
6
7
8
9
class AddCiBuildsAndProjectsIndexes < ActiveRecord::Migration
  def change
    add_index :ci_projects, :gitlab_id
    add_index :ci_projects, :shared_runners_enabled

    add_index :ci_builds, :type
    add_index :ci_builds, :status
  end
end