#14651: ignored field index creation for fields with unique=True and 
db_index=True
---------------------------------------------------+------------------------
          Reporter:  jordi                         |         Owner:  nobody
            Status:  closed                        |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  1.2   
        Resolution:  invalid                       |      Keywords:        
             Stage:  Unreviewed                    |     Has_patch:  0     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by russellm):

  * status:  reopened => closed
  * resolution:  => invalid

Comment:

 I'm in agreement with Ramiro. A UNIQUE column *IS* indexed. You don't need
 to create an additional index. That's why it's optimized out of the table
 creation code.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14651#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to