Sfoglia il codice sorgente

Update Report model

Daniel Supernault 6 anni fa
parent
commit
60923af897
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      app/Report.php

+ 2 - 0
app/Report.php

@@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
 
 
 class Report extends Model
 class Report extends Model
 {
 {
+    protected $dates = ['admin_seen'];
+    
     public function url()
     public function url()
     {
     {
       return url('/i/admin/reports/show/' . $this->id);
       return url('/i/admin/reports/show/' . $this->id);