razor
razor
Explore posts from servers
FFilament
Created by razor on 3/3/2025 in #❓┊help
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:
InitializeTenancyBySubdomain::class,
PreventAccessFromCentralDomains::class,
'universal',
InitializeTenancyBySubdomain::class,
PreventAccessFromCentralDomains::class,
'universal',
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?
1 replies
TTCTheo's Typesafe Cult
Created by razor on 12/9/2023 in #questions
Best Database Design For Status Page?
No description
2 replies