summaryrefslogtreecommitdiff
path: root/db/migrate/20170919211300_remove_temporary_ci_builds_index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20170919211300_remove_temporary_ci_builds_index.rb')
-rw-r--r--db/migrate/20170919211300_remove_temporary_ci_builds_index.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20170919211300_remove_temporary_ci_builds_index.rb b/db/migrate/20170919211300_remove_temporary_ci_builds_index.rb
index b2009b282e9..8423bf13fd9 100644
--- a/db/migrate/20170919211300_remove_temporary_ci_builds_index.rb
+++ b/db/migrate/20170919211300_remove_temporary_ci_builds_index.rb
@@ -12,6 +12,7 @@ class RemoveTemporaryCiBuildsIndex < ActiveRecord::Migration
def up
return unless index_exists?(:ci_builds, :id, name: 'index_for_ci_builds_retried_migration')
+
remove_concurrent_index(:ci_builds, :id, name: "index_for_ci_builds_retried_migration")
end