summaryrefslogtreecommitdiff
path: root/db/migrate/20170216141440_drop_index_for_builds_project_status.rb
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