Explorar o código

Update ReportLog model

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