This commit is contained in:
Mathieu Lagace
2019-09-08 16:43:34 -04:00
parent 0bd86285ca
commit 133f430445
39 changed files with 789 additions and 74 deletions

View File

@@ -9,4 +9,9 @@ class Message extends Model
protected $casts = [
'data' => 'array',
];
public function logs()
{
return $this->morphMany('App\Log', 'logable');
}
}