#32487: GIN indexes on Postgres doesn't work with --nomigrations
--------------------------------+------------------------------------------
Reporter: Iuri de Silvio | Owner: Iuri de Silvio
Type: Bug | Status: assigned
Component: Migrations | Version: 3.1
Severity: Normal | Resolution:
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 Iuri de Silvio):
I fixed my issue creating the extension on `pre_migrate` signal. I think
it is a reasonable solution to decouple extension setup and index
creation.
I tried some solutions with Django internals but they're not good. Signal
works for me and after some investigation I don't think it should be
handled by Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/32487#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/068.a1821a1870792d7a9b6ebc2ec888904a%40djangoproject.com.