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

fix: setting null=false on m2m field causes migration to fail #385

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

waketzheng
Copy link
Contributor

Fixes #334

Nullable constraint of m2m field is not controlled by db, so ignore it when migrate.

@waketzheng waketzheng merged commit 12d0a5d into tortoise:dev Dec 11, 2024
5 checks passed
@waketzheng waketzheng deleted the fix-334-m2m-set-null branch December 11, 2024 13:17
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.

Setting null = false on m2m fields causes migration to fail
1 participant