i found an old article that says in a belongsTo you can ask for tht soft deleted recordes as well, like. this:
return $this->belongsTo(Income::class, 'income_id')->withTrashed();
But i am not getting this to work in laravel 7
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!