Replies: 2 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
-
Hi @hilmihidyt , Did you solve this? |
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.
-
I plan to use this package with multiple database connections. Let's say I have two connections: master and default.
I want to use the users and roles tables from the "master" database connection and other tables such as permissions, model_has_roles, model_has_permissions and role_has_permissions from the default database connection.
I have created User and Role models like this:
User.php
Role.php
With the method above, I have successfully retrieved the users and roles data from the "master" database connection, but the permissions loaded are also from the "master" database connection.
I want the permissions data retrieved from the "default" database connection.
How can I load the permissions data from the "default" database connection?
Beta Was this translation helpful? Give feedback.
All reactions