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

[edX MySQL] IntegrityError : foreign key constraint fails on student_manualenrollmentaudit #96

Open
wilbrdt opened this issue Dec 17, 2024 · 0 comments

Comments

@wilbrdt
Copy link
Contributor

wilbrdt commented Dec 17, 2024

Bug Report

Expected behavior/code
Deleting a user from edx MySQL should cascade delete all entries from user or set the user as PROTECTED .

Actual Behavior

IntegrityError: (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (`edxapp`.`student_manualenrollmentaudit`, CONSTRAINT `enrolled_by_id_refs_id_a8059256` FOREIGN KEY (`enrolled_by_id`) REFERENCES `auth_user` (`id`))')

Environment

  • Mork version: 0.7.0
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

No branches or pull requests

1 participant