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

Change UserMetadata.user on_delete to CASCADE #1053

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

mvandenburgh
Copy link
Member

Closes #1001

Change from `PROTECTED` to `CASCADE`, since deleting a `User` should also delete the associated `UserMetadata`.
@mvandenburgh mvandenburgh added patch Increment the patch version when merged release Create a release when this pr is merged labels Apr 20, 2022
@mvandenburgh mvandenburgh merged commit 7316bc4 into master Apr 20, 2022
@mvandenburgh mvandenburgh deleted the user-metadata-constraint branch April 20, 2022 21:41
@dandibot
Copy link
Member

🚀 PR was released in v0.2.16 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change on_delete to models.CASCADE for UserMetadata.user column
3 participants