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

Ztf19 fix no cascade deletion on product footprint model #24

Merged

Conversation

JohnVonNeumann
Copy link
Member

Fixes #19

Deletions of ProductFootprints were orphaning CarbonFootprints in the database, so ensure that the deletions cascase.

@JohnVonNeumann JohnVonNeumann added the bug Something isn't working label Mar 17, 2024
@JohnVonNeumann JohnVonNeumann added this to the Alpha - v2.0.1 milestone Mar 17, 2024
@JohnVonNeumann JohnVonNeumann merged commit a70177b into master Mar 17, 2024
1 check passed
@JohnVonNeumann JohnVonNeumann deleted the ztf19-fix-no-cascade-deletion-on-product-footprint-model branch March 19, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQLAlchemy models ON DELETE CASCADE currently not set for the parent model productfootprint
1 participant