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

Multi-parent re-model and re-sample issue #298

Merged
merged 4 commits into from
Jan 20, 2021
Merged

Conversation

csala
Copy link
Contributor

@csala csala commented Jan 19, 2021

This PR fixes a situation that happens in the multi-parent scenarios where the child tables are modeled and sampled multiple times, once per parent, increasing modeling and sampling times and also potentially breaking referential integrity if the sample method is called more than once without re-setting the primary key generators.

Also, as a consequence of the changes introduced in this PR, situations in which two foreign keys exists between one child and one parent (a situation like the one explained here), is now fully covered.

@csala csala self-assigned this Jan 19, 2021
@csala csala added the internal The issue doesn't change the API or functionality label Jan 19, 2021
@csala csala added this to the 0.6.2 milestone Jan 19, 2021
@csala csala merged commit 313c8b8 into master Jan 20, 2021
@csala csala deleted the multi-parent-resample-issue branch January 20, 2021 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal The issue doesn't change the API or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant