-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static functions and DB Facade #67
Comments
Thanks, I am using the SwitchTenantDatabaseTask, but the DB facade was returning the landlord db... maybe I just need to change my default connection to 'tenant'? That seems to do the trick... |
Yes, i'm talking of it here: #59 I think that if you use a tenant, it should be the default connection (and not the landlord), but changing the default connection seems to be wrong for @freekmurze, but at the moment seems to be a solution (for me). |
Hey team,
Loving the package so far.
Have you created anything for automatically setting the connection when using the DB:: facade? Would you just add that to the "switch_tenant_tasks" or override the original Database Provider?
The text was updated successfully, but these errors were encountered: