Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-04 13:01:15 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-04 13:19:23 +0300
commit63d1d6b269a133346562121790953ac38bcee1be (patch)
tree15b7fe0398d1e0beb67c7da505c17162b3bf5700 /db
parent3b0cf1daffa12e2b9db3ec13b7796ace5286ce23 (diff)
Fix index
Diffstat (limited to 'db')
-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