Browse Source

Merge pull request #1795 from pixelfed/staging

Staging
daniel 5 năm trước cách đây
mục cha
commit
3f41feab3a
2 tập tin đã thay đổi với 5 bổ sung0 xóa
  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')

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
app/Services/EmailService.php


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác