isPersonal()) { $this->where('workspace_id', app(ActiveWorkspace::class)->id); } else { $this->where('user_id', $userId ?? Auth::id()); } } }