Changes between Initial Version and Version 1 of Ticket #25317, comment 4


Ignore:
Timestamp:
Aug 31, 2015, 10:17:51 AM (9 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25317, comment 4

    initial v1  
    1 My understanding is that an index [https://docs.djangoproject.com/en/1.8/ref/models/fields/#unique shouldn't be created] in this case since `OneToOneField` is `unique=True`: "Note that when `unique` is `True`, you don’t need to specify `db_index`, because `unique` implies the creation of an index."
     1My understanding is that an index [https://docs.djangoproject.com/en/1.8/ref/models/fields/#unique shouldn't be created] in this case since `OneToOneField` is `unique=True`: "Note that when `unique` is `True`, you don’t need to specify `db_index`, because `unique` implies the creation of an index." (In which case, the original report might be valid.)
Back to Top