From 4cfc6a9f10b41dbb556f43f841c0a4dd50703123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Tue, 4 Sep 2018 22:51:02 +0200 Subject: Fix db/fixtures --- doc/development/prometheus_metrics.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3