Update StatusDedupe command

pull/1795/head
Daniel Supernault 2019-10-18 19:29:03 -06:00
rodzic 09e406ec2d
commit b89d793250
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -40,6 +40,11 @@ class StatusDedupe extends Command
*/
public function handle()
{
if(config('database.default') == 'pgsql') {
$this->info('This command is not compatible with Postgres, we are working on a fix.');
return;
}
DB::table('statuses')
->selectRaw('id, uri, count(uri) as occurences')
->whereNull('deleted_at')