debian-mirror-gitlab/db/migrate/20151016195451_add_ci_builds_and_projects_indexes.rb

11 lines
270 B
Ruby
Raw Normal View History

# rubocop:disable all
2019-02-15 15:39:39 +05:30
class AddCiBuildsAndProjectsIndexes < ActiveRecord::Migration[4.2]
2015-10-24 18:46:33 +05:30
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