summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220301093434_backfill_all_project_namespaces.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20220301093434_backfill_all_project_namespaces.rb')
-rw-r--r--db/post_migrate/20220301093434_backfill_all_project_namespaces.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/post_migrate/20220301093434_backfill_all_project_namespaces.rb b/db/post_migrate/20220301093434_backfill_all_project_namespaces.rb
index 7071e6241ce..607161004cf 100644
--- a/db/post_migrate/20220301093434_backfill_all_project_namespaces.rb
+++ b/db/post_migrate/20220301093434_backfill_all_project_namespaces.rb
@@ -24,7 +24,6 @@ class BackfillAllProjectNamespaces < Gitlab::Database::Migration[1.0]
end
def down
- Gitlab::Database::BackgroundMigration::BatchedMigration
- .for_configuration(MIGRATION, :projects, :id, [nil, 'up']).delete_all
+ delete_batched_background_migration(MIGRATION, :projects, :id, [nil, 'up'])
end
end