Thanks to kris, this solved the problem
public function user(): BelongsTo { return $this->belongsTo(User::class, 'model_id'); }