Update command

This commit is contained in:
Daniel Supernault 2019-08-12 03:12:03 -06:00
parent 63670dc24e
commit 749d5101f4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

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