1
0
Fork 0

Merge pull request #1795 from pixelfed/staging

Staging
This commit is contained in:
daniel 2019-10-18 19:32:36 -06:00 committed by GitHub
commit 3f41feab3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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