© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
GwnMik02

Multi tenancy automatically set tenant id for relationships

Hi, probably I am not doing it correctly but I have setup multi tenancy in my project and saving the primary resource data is setting the tenant_id but when I have repeater field for my relation ship I am getting the following error as it is not automatically setting the tenant id for my relation.

SQLSTATE[HY000]: General error: 1364 Field 'language_id' doesn't have a default value

I have set the scopeTentant and relation on my Question model am I missing something?
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

Multi-Tenancy HasManyThrough Tenant Relationship
FilamentFFilament / ❓┊help
3y ago
Use session for multi-tenancy current tenant
FilamentFFilament / ❓┊help
2y ago
Multi Tenancy associate Tenant to Resource
FilamentFFilament / ❓┊help
2y ago
Multi Tenancy within multi tenancy
FilamentFFilament / ❓┊help
2y ago