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

Fixes #35031 - Delete ModuleProfile and ModuleProfileRpms before ModuleStreams #10196

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Jul 14, 2022

What are the changes introduced in this pull request?

Move deletion of child records before parent in migration.

Considerations taken when implementing this change?

I have a feeling destroy_all instead of delete_all for child records will resolve this too but it will be a costlier operation.

What are the testing steps for this pull request?

@theforeman-bot
Copy link

Issues: #35031

@sjha4
Copy link
Member Author

sjha4 commented Jul 15, 2022

[test katello]

@chris1984
Copy link
Member

Code looks good. starting to test

Copy link
Contributor

@parthaa parthaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@chris1984
Copy link
Member

Works good, merge away

@sjha4 sjha4 merged commit 6673240 into Katello:master Jul 28, 2022
ianballou pushed a commit to ianballou/katello that referenced this pull request Sep 27, 2022
ianballou pushed a commit to ianballou/katello that referenced this pull request Sep 27, 2022
ianballou pushed a commit that referenced this pull request Oct 3, 2022
ianballou pushed a commit that referenced this pull request Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants