-
Notifications
You must be signed in to change notification settings - Fork 127
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
Factory Create - Bad connection name #111
Comments
Hm.... Ive never tested it with factory. So you can say, it is not yet supported. Can you not use factory for now? |
Its possible. $user = factory(User::class)->make();
$user->save(); |
Nice. Will put this to FAQ. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm configuring a system which has various DBs. By default
config('database.default')
is equal tomysql
. I have installeddynamodb
and set its configurations.The problem is when a
DynamoDbModel
is created by a factory:The result is
$connection
property from the model is filled withmysql
string. And thus AWS DynamoDB Client thrown an error due to invalid configuration.The text was updated successfully, but these errors were encountered: