2017-02-16 14:19:24 +00:00
|
|
|
class DropIndexForBuildsProjectStatus < ActiveRecord::Migration
|
|
|
|
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
|