summaryrefslogtreecommitdiff
path: root/db/migrate/20151016195451_add_ci_builds_and_projects_indexes.rb
blob: c8a79f25ae509056ad986d43bf1b1b6721b8839a (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddCiBuildsAndProjectsIndexes < ActiveRecord::Migration[4.2]
  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