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
-
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