diff options
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20190819231552_update_knative_prometheus_query_for_invocation_count.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/post_migrate/20190819231552_update_knative_prometheus_query_for_invocation_count.rb b/db/post_migrate/20190819231552_update_knative_prometheus_query_for_invocation_count.rb new file mode 100644 index 00000000000..828f551baf6 --- /dev/null +++ b/db/post_migrate/20190819231552_update_knative_prometheus_query_for_invocation_count.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class UpdateKnativePrometheusQueryForInvocationCount < ActiveRecord::Migration[5.2] + DOWNTIME = false + + def up + ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute + end + + def down + # no-op + end +end |