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

Drop and recreate M2M field to avoid constraint errors. #12957

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

rtibbles
Copy link
Member

Summary

Didn't discover the issue with this migration until after I had merged. Running the migration locally caused constraint errors.
Deleting and recreating the through table from scratch seemed simplest.

References

Follow up from #12880

Reviewer guidance

Can you run migrations locally?

@github-actions github-actions bot added the DEV: backend Python, databases, networking, filesystem... label Dec 18, 2024
@rtibbles rtibbles merged commit dd9b9cb into learningequality:develop Dec 18, 2024
43 checks passed
@rtibbles rtibbles deleted the fix_migration branch December 18, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: backend Python, databases, networking, filesystem...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant