Laravel -Beziehung wählen Felder
public function user()
{
return $this->belongsTo('User')->select(['id', 'username']);
}
Shadow
public function user()
{
return $this->belongsTo('User')->select(['id', 'username']);
}