Re: [Django] #35079: Meta indexes/constraints with OpClass on expressions crash.

16 views
Skip to first unread message

Django

unread,
Jan 2, 2024, 2:05:50 PM1/2/24
to django-...@googlegroups.com
#35079: Meta indexes/constraints with OpClass on expressions crash.
---------------------------------+------------------------------------
Reporter: Andra Antariksa | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 4.2
Severity: Normal | Resolution:
Keywords: migration | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------

Comment (by Hannes Ljungberg):

Pretty sure that this is caused by not having `django.contrib.postgres` in
`INSTALLED_APPS` as documented at
https://docs.djangoproject.com/en/5.0/ref/contrib/postgres/indexes
/#opclass-expressions.

--
Ticket URL: <https://code.djangoproject.com/ticket/35079#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 2, 2024, 2:24:01 PM1/2/24
to django-...@googlegroups.com
#35079: Meta indexes/constraints with OpClass on expressions crash.
---------------------------------+--------------------------------------

Reporter: Andra Antariksa | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: 4.2
Severity: Normal | Resolution: duplicate
Keywords: migration | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate
* stage: Accepted => Unreviewed


Comment:

Ahh, right 🤦 Duplicate of #32770.

--
Ticket URL: <https://code.djangoproject.com/ticket/35079#comment:4>

Django

unread,
Jan 2, 2024, 9:17:08 PM1/2/24
to django-...@googlegroups.com
#35079: Meta indexes/constraints with OpClass on expressions crash.
---------------------------------+--------------------------------------
Reporter: Andra Antariksa | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: 4.2
Severity: Normal | Resolution: duplicate
Keywords: migration | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------

Comment (by Andra Antariksa):

Thanks for your response. It fixes my problem, too bad I didn't notice
that thing.

--
Ticket URL: <https://code.djangoproject.com/ticket/35079#comment:5>

Reply all
Reply to author
Forward
0 new messages