提交 e4d40242 编写于 作者: Z Z.J. van de Weg

Reject projects without namespace

上级 5639c62b
......@@ -41,6 +41,7 @@ class RequeuePendingDeleteProjects < ActiveRecord::Migration
projects = Arel::Table.new(:projects)
projects.project(projects[:id]).
where(projects[:pending_delete].eq(true)).
where(projects[:namespace_id].not_eq(nil)).
skip(@offset * BATCH_SIZE).
take(BATCH_SIZE).
to_sql
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册