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: 56ad566ca67605fe27974ab7404bf398f8409068 (plain)
1
2
3
4
5
6
7
8
9
# rubocop:disable RemoveIndex
class DropIndexForBuildsProjectStatus < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers
  DOWNTIME = false

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