#16220: Add introspection for multicolumn indexes
-------------------------------------+-------------------------------------
               Reporter:  jgelens    |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |      Component:  Database layer
              Milestone:             |  (models, ORM)
                Version:  1.3        |       Severity:  Normal
             Resolution:             |       Keywords:  dceu2011
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |    Needs tests:  0
    Needs documentation:  0          |  Easy pickings:  0
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by jgelens):

 '''Suggestion''':

 Old output:
 {{{
 }}}

 New output:
 {{{
 {
     u'table_name_pkey': {
         'primary_key': False,
         'unique': False,
         'fields': ('id',)
     },
     u'table_name_fieldname': {
         'primary_key': False,
         'unique': False,
         'fields': ('somefield',)
     },
     u'table_name_355fd33': {
         'primary_key': False,
         'unique': False,
         'fields': ('somefield1', 'somefield2'])  # a multicolumn index
     },
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16220#comment:4>
Django <https://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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to