Explorar o código

Update AccountLog model

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
01c7a95ef5
Modificáronse 1 ficheiros con 4 adicións e 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);
+    }
 }