krendzel
krendzel
FFilament
Created by Matheeus on 10/5/2024 in #❓┊help
"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
One of solution can be make a custom command for module like module:add-relation NewModule that will append to Team Model piece of code with relation 😄 It's silly i know...
15 replies
FFilament
Created by Matheeus on 10/5/2024 in #❓┊help
"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
I think that i will be not able to throw out that, app instance will per country and each country will be have own sites (50+) where i need data separation most of the time, some models will be common for all sites
15 replies
FFilament
Created by Matheeus on 10/5/2024 in #❓┊help
"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
" also because it's incompatible with many major Filament libraries like Shield (for permissions)" From what i see bezhanSalleh/filament-shield supports multi tenancy
15 replies
FFilament
Created by Matheeus on 10/5/2024 in #❓┊help
"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
For me multi-tenancy + modules was best option because i want to create "core app" and modules that will be add new functionalities to app because not every client will be need all functionalities that will be available.
15 replies
FFilament
Created by Matheeus on 10/5/2024 in #❓┊help
"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
Ohhh, ok. For now i will add manually each relation with model in Team model but when app will be have several modules with 20+ modules will be harder to maintain that 😦 Maybe i will find some solution for that before that 😄
15 replies
FFilament
Created by Matheeus on 10/5/2024 in #❓┊help
"The model [App\Models\Team] does not have a relationship named [leads]." (Multi-tenant + Modules)
@Matheeus did You find solution for that? I have same case as You and so far i didn't find any solution for that :/
15 replies