Explorar o código

Update Report model

Daniel Supernault %!s(int64=7) %!d(string=hai) anos
pai
achega
60923af897
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);