Переглянути джерело

Merge pull request #1597 from pixelfed/frontend-ui-refactor

Update command
daniel 6 роки тому
батько
коміт
2fa01c9350
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')
             ->selectRaw('id, uri, count(uri) as occurences')
+            ->whereNull('deleted_at')
             ->whereNotNull('uri')
             ->groupBy('uri')
             ->orderBy('created_at')