Filament Undefined table in tenant panel
Hi I am using Laravel 11, Filament with tenancyforlaravel.
I am using Postgres with seperate schema for each tenant.
I can verify the schema and table exists in tenant but not in central app. So the issue is, filament is using the central db not tenant.
I am using these middleware for the panel array along with the default ones:
When doing
dd(tenant('id'))
inside panel function I get null, so Filament is not getting the tenant 🤔
I created my custom middleware also and Filament is not getting the tenant id. But in my routes of app I can get my tenant id.
How to solve?0 Replies