Skip to content
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

How to model a child table with multiple foreign keys? #29

Open
echatzikyriakidis opened this issue Jul 2, 2023 · 0 comments
Open

How to model a child table with multiple foreign keys? #29

echatzikyriakidis opened this issue Jul 2, 2023 · 0 comments

Comments

@echatzikyriakidis
Copy link

Hi @avsolatorio !

I have a child table with multiple foreign keys to different parent tables.

Something like Car<-CarStatus, Car<-CarManufacturer relationships.

How can I generate the child table Car? It seems that I have to build many relational models for each relationship but then how should I merge the generated sampled data into one table?

Thanks!

@echatzikyriakidis echatzikyriakidis changed the title How to model a child model with multiple foreign keys? How to model a child table with multiple foreign keys? Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant