Selaa lähdekoodia

Update Report model

Daniel Supernault 7 vuotta sitten
vanhempi
commit
60923af897
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      app/Report.php

+ 2 - 0
app/Report.php

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