summaryrefslogtreecommitdiff
path: root/db/post_migrate/20210621223000_steal_background_jobs_that_reference_services.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20210621223000_steal_background_jobs_that_reference_services.rb')
-rw-r--r--db/post_migrate/20210621223000_steal_background_jobs_that_reference_services.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/post_migrate/20210621223000_steal_background_jobs_that_reference_services.rb b/db/post_migrate/20210621223000_steal_background_jobs_that_reference_services.rb
new file mode 100644
index 00000000000..8d326036a68
--- /dev/null
+++ b/db/post_migrate/20210621223000_steal_background_jobs_that_reference_services.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+class StealBackgroundJobsThatReferenceServices < ActiveRecord::Migration[6.1]
+ def up
+ Gitlab::BackgroundMigration.steal('BackfillJiraTrackerDeploymentType2')
+ Gitlab::BackgroundMigration.steal('FixProjectsWithoutPrometheusService')
+ Gitlab::BackgroundMigration.steal('MigrateIssueTrackersSensitiveData')
+ Gitlab::BackgroundMigration.steal('RemoveDuplicateServices')
+ end
+
+ def down
+ # no-op
+ end
+end