diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-09-04 23:51:02 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-09-04 23:51:02 +0300 |
commit | 4cfc6a9f10b41dbb556f43f841c0a4dd50703123 (patch) | |
tree | 4b3883ba820cc3e09932a1bfc7f45ded91488339 /doc | |
parent | 0b5ff7dd2e80be6fc71cc45d3fe9003be396abed (diff) |
Fix db/fixtures
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/prometheus_metrics.md | 4 |
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 |