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

20170216141440_drop_index_for_builds_project_status.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 906711b9f3f9caedd96b9401344c63a6736d4007 (plain)
1
2
3
4
5
6
7
8
class DropIndexForBuildsProjectStatus < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers
  DOWNTIME = false

  def change
    remove_index(:ci_commits, [:gl_project_id, :status])
  end
end