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

Update command
This commit is contained in:
daniel 2019-08-12 03:12:29 -06:00 committed by GitHub
commit 2fa01c9350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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