#36046: Create an index on the combination of ForeignKeys in the ManyToManyField
through table?
-------------------------------------+-------------------------------------
Reporter: Willem Van Onsem | Type:
| Uncategorized
Status: new | Component: Database
| layer (models, ORM)
Version: 5.1 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
As [https://stackoverflow.com/q/79318183/67579 this SO question] points
out, Django apparently does not create an index on the *combination* of
the two `ForeignKey`s. It might be an idea to automatically do this?
--
Ticket URL: <https://code.djangoproject.com/ticket/36046>
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 visit
https://groups.google.com/d/msgid/django-updates/010701941c5a9650-0a71cc1e-283e-464d-9873-61b9e3a91121-000000%40eu-central-1.amazonses.com.