You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, I am having issues with the latest version of this library.
When I try and create a new instance of a child model, it is not receiving the ID of the referenced fixture. This results in the entity failing to save because of constraints.
For example:
error: Error: null value in column "locationId" violates not-null constraint
Hey there, I am having issues with the latest version of this library.
When I try and create a new instance of a child model, it is not receiving the ID of the referenced fixture. This results in the entity failing to save because of constraints.
For example:
Here are my fixtures
and
In this scenario, location is defined as a ManyToOne lazy relationship on Role. Tenat is also a ManyToOne which I hardcoded and works as expected.
Postgres returns this error
I am continuing to look further, however wanted to see if anyone else has ran into this.
The text was updated successfully, but these errors were encountered: