how to insert the FK #1238
Unanswered
JosuePimentel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to populate my database. I have 2 entities, StateEntity and CountryEntity, respectively:
As you can see, the state entity is dependent on the country entity. So that's my question, how can i save the countryId in state seed.
Here is my country seed:
The State Seed I didn't yet.
Beta Was this translation helpful? Give feedback.
All reactions