-
Couldn't load subscription status.
- Fork 115
Open
Description
| $user = DB::table($table) |
| DB::table($user->table) |
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
DBwith$connectionsin 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.
Metadata
Metadata
Assignees
Labels
No labels