summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-04 12:01:15 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-04 12:19:23 +0200
commit63d1d6b269a133346562121790953ac38bcee1be (patch)
tree15b7fe0398d1e0beb67c7da505c17162b3bf5700 /db/migrate
parent3b0cf1daffa12e2b9db3ec13b7796ace5286ce23 (diff)
downloadgitlab-ce-63d1d6b269a133346562121790953ac38bcee1be.tar.gz
Fix index
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180831164907_add_index_on_common_for_prometheus_metrics.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180831164907_add_index_on_common_for_prometheus_metrics.rb b/db/migrate/20180831164907_add_index_on_common_for_prometheus_metrics.rb
index d2330726339..fdbaaf67b87 100644
--- a/db/migrate/20180831164907_add_index_on_common_for_prometheus_metrics.rb
+++ b/db/migrate/20180831164907_add_index_on_common_for_prometheus_metrics.rb
@@ -12,6 +12,6 @@ class AddIndexOnCommonForPrometheusMetrics < ActiveRecord::Migration
end
def down
- remove_concurrent_index :prometheus_metrics, :project_id
+ remove_concurrent_index :prometheus_metrics, :common
end
end