Преглед на файлове

Merge pull request #1795 from pixelfed/staging

Staging
daniel преди 5 години
родител
ревизия
3f41feab3a
променени са 2 файла, в които са добавени 5 реда и са изтрити 0 реда
  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')

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
app/Services/EmailService.php


Някои файлове не бяха показани, защото твърде много файлове са промени