1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

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')
->selectRaw('id, uri, count(uri) as occurences')
->whereNull('deleted_at')
->whereNotNull('uri')
->groupBy('uri')
->orderBy('created_at')