#34949: Fails to create unique constraints
-------------------------------------+-------------------------------------
Reporter: Roman Odaisky | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jordan Bae):
I think he intended that models.UniqueConstraint(fields=["e"],
include=["f"], name="unique_e_include_f") makes 'unique_e_include_f' on
'e' like models.Index. and UniqueConstraint with nulls_distinct act
ignored like deferrable so need to update documentation. If you are okay,
can i handle this?
--
Ticket URL: <https://code.djangoproject.com/ticket/34949#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 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/0107018cda15f5e0-1ddf94cc-e04d-4c6c-a099-2664f23fde71-000000%40eu-central-1.amazonses.com.