-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
'CASCADE' support #6743
Comments
Just as a guess, the ManyToManyField sets something like |
The workaround is likely |
I wasn't able to get this working in my timebox. Here's a summary of my thoughts and findings:
|
Please search the existing issues for relevant feature requests, and use the reaction feature to add upvotes to pre-existing requests.
Use Case(s)
This stems out of trying to use Django with Vitess. Specifically, this limitation was found running migrations in the following project: https://github.com/planetscale/django-locallibrary-tutorial.
The error message that is outputted is:
The migration file that is being ran is:
There may be a workaround for this. I have not investigated it deeply. Also interestingly, if I run
python3 manage.py migrate
again, I seewhich suggests to me that there is some weirdness on how Vitess / MySQL handles the DDL. I know that it's not transactional, but I don't have much context on the details for either as of yet and if this is expected behavior.
cc @mcronce
The text was updated successfully, but these errors were encountered: