Tenant Support #115
Unanswered
llamorinlabs
asked this question in
Q&A
Replies: 1 comment
-
Hi @llamorinaabs What I did was create my own App\Models\Activity which extends \Spatie\Activitylog\Models\Activity implements \Spatie\Activitylog\Contracts\Activity then if you are using Spatie MultiTenancy: use UsesTenantConnection in the new Activity Model. then register the model in ActivityPolicy and AuthServiceProvider and it will use Tenant DB for activity ... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Should I publish the model for Spatie and the add relationship there or is there any way to modify the logger Resource?
Beta Was this translation helpful? Give feedback.
All reactions