Parcourir la source

Merge pull request #1795 from pixelfed/staging

Staging
daniel il y a 5 ans
Parent
commit
3f41feab3a
2 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      app/Console/Commands/StatusDedupe.php
  2. 0 0
      app/Services/EmailService.php

+ 5 - 0
app/Console/Commands/StatusDedupe.php

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

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
app/Services/EmailService.php


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff