2017-04-05 22:53:57 +00:00
|
|
|
# rubocop:disable RemoveIndex
|
2018-11-13 07:27:31 +00:00
|
|
|
class DropIndexForBuildsProjectStatus < ActiveRecord::Migration[4.2]
|
2017-02-16 14:19:24 +00:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
DOWNTIME = false
|
|
|
|
|
|
|
|
def change
|
2017-03-15 02:06:54 +00:00
|
|
|
remove_index(:ci_commits, column: [:gl_project_id, :status])
|
2017-02-16 14:19:24 +00:00
|
|
|
end
|
|
|
|
end
|