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

Fixed #31503 -- Made autodetector remove unique/index_together before altering fields. #14722

Merged
merged 1 commit into from Oct 25, 2021

Conversation

David-Wobrock
Copy link
Member

Hi,

A potential solution for https://code.djangoproject.com/ticket/31503
Let me know what you think of the approach, I tried to keep the patch small :)

@David-Wobrock David-Wobrock marked this pull request as ready for review August 14, 2021 17:03
Copy link
Member

@felixxm felixxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@David-Wobrock Thanks for updates 👍

django/db/migrations/autodetector.py Show resolved Hide resolved
django/db/migrations/autodetector.py Show resolved Hide resolved
@felixxm
Copy link
Member

felixxm commented Oct 25, 2021

@David-Wobrock Thanks for updates 👍

@felixxm felixxm merged commit 0314593 into django:main Oct 25, 2021
@felixxm felixxm changed the title Fixed #31503 -- Moved unique/index_together removal in autodetector before field alterations Fixed #31503 -- Made autodetector remove unique/index_together before altering fields. Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants