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

Add ON DELETE CASCADE for user fk #1015

Closed
wants to merge 1 commit into from
Closed

Conversation

artofhuman
Copy link

Now fk looks like
"user_id_refs_id_eb775862" FOREIGN KEY (user_id) REFERENCES membership_user(id) DEFERRABLE INITIALLY DEFERRED

It`s problem if we want to delete user in db

@omab omab force-pushed the master branch 2 times, most recently from 1078c07 to de9f179 Compare December 3, 2016 14:23
@omab
Copy link
Owner

omab commented Dec 4, 2016

I've ported this PR into social-app-django.

Thanks!

@omab omab closed this Dec 4, 2016
This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants