Closed
Description
I'm configuring a system which has various DBs. By default config('database.default')
is equal to mysql
. I have installed dynamodb
and set its configurations.
The problem is when a DynamoDbModel
is created by a factory:
$user = factory(User::class)->create();
The result is $connection
property from the model is filled with mysql
string. And thus AWS DynamoDB Client thrown an error due to invalid configuration.
Metadata
Metadata
Assignees
Labels
No labels