spatie / laravel-multitenancy

Make your Laravel app usable by multiple tenants
https://spatie.be/docs/laravel-multitenancy
MIT License
1.11k stars 153 forks source link

How can I access all tenant data at once? #460

Closed monish-khatri closed 1 year ago

monish-khatri commented 1 year ago

Discussed in https://github.com/spatie/laravel-multitenancy/discussions/410

Originally posted by **monish-khatri** November 3, 2022 Suppose I have `tenant_1` and `tenant_2` ## Tenant 1 - Users - Test User 1 - Test User 2 ## Tenant 2 - Users - Test User 3 - Test User 4 What I Want is to show all the users at once for admin view Output : - Users - Test User 1 - Test User 2 - Test User 3 - Test User 4 Is any feasible solution to achieve the above scenario? Any help will be Usefull.