Daniel Supernault пре 6 година
родитељ
комит
01c7a95ef5
1 измењених фајлова са 4 додато и 1 уклоњено
  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);
+    }
 }