summaryrefslogtreecommitdiff
path: root/db/post_migrate/20211209103048_backfill_project_namespaces_for_group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20211209103048_backfill_project_namespaces_for_group.rb')
-rw-r--r--db/post_migrate/20211209103048_backfill_project_namespaces_for_group.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/post_migrate/20211209103048_backfill_project_namespaces_for_group.rb b/db/post_migrate/20211209103048_backfill_project_namespaces_for_group.rb
index 0b65db7aab4..44dffc798d3 100644
--- a/db/post_migrate/20211209103048_backfill_project_namespaces_for_group.rb
+++ b/db/post_migrate/20211209103048_backfill_project_namespaces_for_group.rb
@@ -36,7 +36,6 @@ class BackfillProjectNamespacesForGroup < Gitlab::Database::Migration[1.0]
def down
return unless Gitlab.com? || Gitlab.staging?
- Gitlab::Database::BackgroundMigration::BatchedMigration
- .for_configuration(MIGRATION, :projects, :id, [GROUP_ID, 'up']).delete_all
+ delete_batched_background_migration(MIGRATION, :projects, :id, [GROUP_ID, 'up'])
end
end