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/doc
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-04 23:51:02 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-04 23:51:02 +0300
commit4cfc6a9f10b41dbb556f43f841c0a4dd50703123 (patch)
tree4b3883ba820cc3e09932a1bfc7f45ded91488339 /doc
parent0b5ff7dd2e80be6fc71cc45d3fe9003be396abed (diff)
Fix db/fixtures
Diffstat (limited to 'doc')
-rw-r--r--doc/development/prometheus_metrics.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/development/prometheus_metrics.md b/doc/development/prometheus_metrics.md
index 488d344b8cc..6977815a979 100644
--- a/doc/development/prometheus_metrics.md
+++ b/doc/development/prometheus_metrics.md
@@ -31,7 +31,9 @@ After you add or change existing _common_ metric you have to create a new databa
```ruby
class ImportCommonMetrics < ActiveRecord::Migration
- require_relative '../importers/common_metrics_importer.rb'
+ include Gitlab::Database::MigrationHelpers
+
+ require Rails.root.join('db/importers/common_metrics_importer.rb')
DOWNTIME = false