mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 05:23:17 +00:00
Merge pull request #1597 from pixelfed/frontend-ui-refactor
Update command
This commit is contained in:
commit
2fa01c9350
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue