Browse Source

Update ReportLog model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
df2d37b27c
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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);
+	}
 }