© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
shenntek

multi tenancy as polymorphic table

In multi-tenancy by default every resource should get an extra table column team_id for example. Isn’t it possible to use one polymorphic table with which resource holds access to which team and which resource record and corresponding user? Keeps all the rest of the tables clean and no extra migrations to run on the tables.
Has anybody tried yet / is it possible?
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 with one to many polymorphic relationship.
FilamentFFilament / ❓┊help
2y ago
Multi Tenancy within multi tenancy
FilamentFFilament / ❓┊help
2y ago
Multi Tenancy
FilamentFFilament / ❓┊help
2y ago
multi-tenancy
FilamentFFilament / ❓┊help
2y ago