summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-04-07 18:05:39 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-04-07 18:05:39 +0200
commit3ea4a13925d7989288101ba40b25b02fa49ae23c (patch)
tree88cd62d58f2895333b178bfd7a38f9da47069d0e /db
parent0872b854cb4861351893ad78c4d4a86c61a2eccf (diff)
downloadgitlab-ce-3ea4a13925d7989288101ba40b25b02fa49ae23c.tar.gz
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb b/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb
index e1382318d3c..626c2a67fdc 100644
--- a/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb
+++ b/db/migrate/20170407140450_add_index_to_next_run_at_and_active.rb
@@ -13,6 +13,6 @@ class AddIndexToNextRunAtAndActive < ActiveRecord::Migration
end
def down
- remove_index :ci_trigger_schedules, [:active, :next_run_at]
+ remove_concurrent_index :ci_trigger_schedules, [:active, :next_run_at]
end
end