-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Create new on other than default connection #17384
Comments
Please upgrade to the latest php 7.0.x or 7.1.x. |
@themsaid Thank you for looking in to this. Constructing a new instance is our current work arround. It just seems odd that the create methods always falls back to the default connection settings. Using the workaround (instance with correct connection settings) causes a lot of additional code...
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The model create method keeps using the default db.
We are using artisan tinker, and tried the following:
The text was updated successfully, but these errors were encountered: