浏览代码

Update ReportLog model

Daniel Supernault 6 年之前
父节点
当前提交
df2d37b27c
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      app/ReportLog.php

+ 4 - 1
app/ReportLog.php

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