© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
3 replies
Abdellah

The model does not have a relationship named [team]

Hello all, how can I please fix this?
The model [App\Models\Backup] does not have a relationship named [team]. You can change the relationship being used by passing it to the [ownershipRelationship] argument of the [tenant()] method in configuration. You can change the relationship being used per-resource by setting it as the [$tenantOwnershipRelationshipName] static property on the [App\Filament\Resources\BackupResource] resource class.
The model [App\Models\Backup] does not have a relationship named [team]. You can change the relationship being used by passing it to the [ownershipRelationship] argument of the [tenant()] method in configuration. You can change the relationship being used per-resource by setting it as the [$tenantOwnershipRelationshipName] static property on the [App\Filament\Resources\BackupResource] resource class.
Solution
add the team relationship to the back up model...
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
FilamentFFilament / ❓┊help
17mo ago
Relationship manager does not have Create Action
FilamentFFilament / ❓┊help
13mo ago
Relationship Does Not Exists
FilamentFFilament / ❓┊help
3y ago
Relationship not saved to Model on Section
FilamentFFilament / ❓┊help
3y ago