Django creates redundant unique index for OneToOneField on MySQL
I've noticed, that Django r7411 still generates reduntandt unique indeces when Unique=True, db_index=True and reopened ticked #3030.
Then I updated to r7519 (current head) and discovered, that reduntant unique index is create for OneToOneField (MySQL creates inherent foreign key on UNIQUE column declaration)
Keywords: |
qsrf-cleanup added
|
Component: |
django.core.mail → Database wrapper
|
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
I've already filled a bug report for the OneToOneField problem here :
http://code.djangoproject.com/ticket/7170