﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28052	Django inadvertently removes all indexes when switching to db_index=False	Markus Holtermann	nobody	"1. Create a model with `data = JSONField(db_index=True)`; makemigrations; migrate
1. Add a `GinIndex(fields=['data'], name='foo')` to `_meta.indexes`; makemigrations; migrate
1. Remove `db_index=True` from the `JSONField`; makemigrations; migrate

After step 2 there will be a Gin index on the `data` column on the model. After step 3 there's _no_ index on the `data` column anymore."	Bug	closed	Migrations	1.11	Release blocker	fixed		Marc Tamlyn	Accepted	1	0	0	0	0	0
