Преглед на файлове

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')