Explorar el Código

Update AccountLog model

Daniel Supernault hace 6 años
padre
commit
01c7a95ef5
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      app/AccountLog.php

+ 4 - 1
app/AccountLog.php

@@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
 
 class AccountLog extends Model
 {
-    //
+    public function user()
+    {
+    	return $this->belongsTo(User::class);
+    }
 }