#32770: GinIndex with OpClass and Cast results in Postgres syntax error in
migration
-------------------------------------+-------------------------------------
Reporter: Seth Yastrov | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) | Resolution:
Severity: Normal | worksforme
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Hannes Ljungberg):
I'm pretty sure that you're seeing this error because of not adding
`django.contrib.postgres` to `INSTALLED_APPS`, see:
https://docs.djangoproject.com/en/3.2/ref/contrib/postgres/indexes
/#opclass-expressions
--
Ticket URL: <https://code.djangoproject.com/ticket/32770#comment:2>
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.966696fa32496ebed18ffe268b38037d%40djangoproject.com.