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
1 changed files with 1 additions and 0 deletions

View File

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