#35180: PostgreSQL pattern ops indexes are dropped when changing between CharField and TextField -------------------------------------+------------------------------------- Reporter: Robin Ray | Owner: | timbaginski Type: Bug | Status: closed Component: Database layer | Version: dev (models, ORM) | Severity: Normal | Resolution: duplicate Keywords: index postgres | Triage Stage: migration | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by bcail):
* cc: bcail (added) Comment: I know this was closed as a duplicate, but could we please look into re- opening it? I've opened a [PR https://github.com/django/django/pull/18593] that tests changing a CharField to a TextField and fixes the issue by checking for a type change on an indexed field. -- Ticket URL: <https://code.djangoproject.com/ticket/35180#comment:8> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107019201cae1ae-1f5822bd-0168-4733-9d5b-4d68a428a5ea-000000%40eu-central-1.amazonses.com.