-
Notifications
You must be signed in to change notification settings - Fork 28
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
Support for Factories #44
Comments
I have a feeling your model is not using the DynamoDb connection. Try to hard code the connection in your model
|
Sorry, I should have included my base model. It does have
|
The Factory was overriding the $connection in the model. For me I additionally had to revise the setConnection method to prevent this:
|
Should the Factories work? I get this error:
Call to undefined method Illuminate\Database\Query\Builder::usingModel()
The entry ends up in the local dynamodb but an error is thrown.
Model
Factory
Seeder
Error Message
The text was updated successfully, but these errors were encountered: