فهرست منبع

Update AccountLog model

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);
+    }
 }