Commit 4cfc6a9f authored by Kamil Trzciński's avatar Kamil Trzciński

Fix db/fixtures

parent 0b5ff7dd
# frozen_string_literal: true
require_relative '../importers/common_metrics_importer.rb'
require Rails.root.join('db/importers/common_metrics_importer.rb')
::Importers::CommonMetricsImporter.new.execute
# frozen_string_literal: true
require_relative '../importers/common_metrics_importer.rb'
require Rails.root.join('db/importers/common_metrics_importer.rb')
::Importers::CommonMetricsImporter.new.execute
......@@ -3,7 +3,7 @@
class ImportCommonMetrics < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
require_relative '../importers/common_metrics_importer.rb'
require Rails.root.join('db/importers/common_metrics_importer.rb')
DOWNTIME = false
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment