mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-01 18:53:16 +00:00
Update command
This commit is contained in:
parent
63670dc24e
commit
749d5101f4
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