Skip to content
Snippets Groups Projects
Commit e4d40242 authored by Z.J. van de Weg's avatar Z.J. van de Weg
Browse files

Reject projects without namespace

parent 5639c62b
No related branches found
No related tags found
No related merge requests found
Loading
@@ -41,6 +41,7 @@ class RequeuePendingDeleteProjects < ActiveRecord::Migration
Loading
@@ -41,6 +41,7 @@ class RequeuePendingDeleteProjects < ActiveRecord::Migration
projects = Arel::Table.new(:projects) projects = Arel::Table.new(:projects)
projects.project(projects[:id]). projects.project(projects[:id]).
where(projects[:pending_delete].eq(true)). where(projects[:pending_delete].eq(true)).
where(projects[:namespace_id].not_eq(nil)).
skip(@offset * BATCH_SIZE). skip(@offset * BATCH_SIZE).
take(BATCH_SIZE). take(BATCH_SIZE).
to_sql to_sql
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment