You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above two places make it almost impossible to use a different connection than the default(actually it is possible to get around it by changing DB facade temporarily, but it's not the right way), so i would suggest changing the second constructor parameter to $connection,
then at places where it needs schema, just do $connection->getSchemaBuilder(),
and replace DB with $connections in the above places.
And of course, you need to modify the service provider slightly as well. I would create a PR if you want it.
The text was updated successfully, but these errors were encountered:
laravel-user-verification/src/UserVerification.php
Line 271 in 69527fd
laravel-user-verification/src/UserVerification.php
Line 342 in 69527fd
The above two places make it almost impossible to use a different connection than the default(actually it is possible to get around it by changing DB facade temporarily, but it's not the right way), so i would suggest changing the second constructor parameter to
$connection
,$connection->getSchemaBuilder()
,DB
with$connections
in the above places.The text was updated successfully, but these errors were encountered: