#31410: Add check for fields of UniqueConstraints.
-------------------------------------+-------------------------------------
     Reporter:  Marnanel Thurman     |                    Owner:  Hasan
         Type:                       |  Ramezani
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * needs_better_patch:  0 => 1
 * version:  3.0 => master


Comment:

 Replying to [comment:8 Ian Foote]:
 > `CheckConstraint` might have the same bug.

 After reconsideration I think we should limit this check only to
 `UniqueConstraint`'s, it's not worth to add complex and error prone logic
 for `CheckConstraint`'s, we can fail of custom expressions etc.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31410#comment:11>
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/066.1603aae8d9553ca30c7602a6362e7e28%40djangoproject.com.

Reply via email to