summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220325155953_steal_background_job_for_fixing_conflicting_project_names_and_paths.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20220325155953_steal_background_job_for_fixing_conflicting_project_names_and_paths.rb')
-rw-r--r--db/post_migrate/20220325155953_steal_background_job_for_fixing_conflicting_project_names_and_paths.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/post_migrate/20220325155953_steal_background_job_for_fixing_conflicting_project_names_and_paths.rb b/db/post_migrate/20220325155953_steal_background_job_for_fixing_conflicting_project_names_and_paths.rb
new file mode 100644
index 00000000000..4c4c29e2b7c
--- /dev/null
+++ b/db/post_migrate/20220325155953_steal_background_job_for_fixing_conflicting_project_names_and_paths.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class StealBackgroundJobForFixingConflictingProjectNamesAndPaths < Gitlab::Database::Migration[1.0]
+ def up
+ Gitlab::BackgroundMigration.steal('FixDuplicateProjectNameAndPath')
+ end
+
+ def down
+ # no-op
+ end
+end