瀏覽代碼

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


部分文件因文件數量過多而無法顯示