forked from mirror/pixelfed
commit
3f41feab3a
2 changed files with 6 additions and 1 deletions
|
@ -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')
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue