浏览代码

Update command

Daniel Supernault 6 年之前
父节点
当前提交
749d5101f4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Console/Commands/StatusDedupe.php

+ 1 - 0
app/Console/Commands/StatusDedupe.php

@@ -42,6 +42,7 @@ class StatusDedupe extends Command
     {
     {
         DB::table('statuses')
         DB::table('statuses')
             ->selectRaw('id, uri, count(uri) as occurences')
             ->selectRaw('id, uri, count(uri) as occurences')
+            ->whereNull('deleted_at')
             ->whereNotNull('uri')
             ->whereNotNull('uri')
             ->groupBy('uri')
             ->groupBy('uri')
             ->orderBy('created_at')
             ->orderBy('created_at')