summaryrefslogtreecommitdiff
path: root/db/migrate/20170216141440_drop_index_for_builds_project_status.rb
blob: 7edf7dd7e105e770e9b91e59d60788d024db1dd7 (plain)
1
2
3
4
5
6
7
8
9
# rubocop:disable RemoveIndex
class DropIndexForBuildsProjectStatus < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers
  DOWNTIME = false

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