Laravel Nova & spatie/multitenancy - make nova built-in models tenant aware #6849
Unanswered
NowakAdmin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm seeking for help with make built-in nova resources like Nitification and ActionEvent TenantAware
I use nova with spatie/multitenancy and I have a hard time trying to set Nova built-in models like Nitification and ActionEvent TenantAware
I've tried make a custom laravel model like that:
my another approach was to try override it in other way:
and register it in NovaServiceProvider.php
this last returns an error:
My connections are correct, I have landlord and tenants databases (multi-tenant-databases) on frontend side I have proper resource data (inserted by phpmyadmin) display, but can't add any data by nova becouse of missing internal nova tables. (They exist in tenant database, not in landlord)
Errors i get:
Beta Was this translation helpful? Give feedback.
All reactions