#31702: Allow specifying custom operator classes for PostgreSQL unique indexes
-------------------------------------+-------------------------------------
               Reporter:  Hannes     |          Owner:  Hannes Ljungberg
  Ljungberg                          |
                   Type:  New        |         Status:  assigned
  feature                            |
              Component:  Database   |        Version:  master
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 `UniqueConstraint` should allow setting `opclasses` just like `Index`:
 {{{
 class Meta:
     constraints = [
         UniqueConstraint(
             name='test_ops_class',
             fields=['scene'],
             opclasses=['varchar_pattern_ops'],
         )
     ]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31702>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.f659a99c79f5201bad5705a3e32bd73b%40djangoproject.com.

Reply via email to