Laravel autorise la relation des enregistrements nuls
/**
* Get the author of the post.
*/
public function user()
{
return $this->belongsTo(User::class)->withDefault();
}
DJ Ultimate Disco Party