﻿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
26926	Dual index migration bug?	Vladimir	nobody	"Example:

1) Added new field to model
x_index = models.BooleanField(default=True, db_index=True, unique=True)
There is an unnecessary index. But the conditions of the situation.

2) Create and run the migration.
In the database this field will have only one index - unique.

3) Change the field.
x_index = models.BooleanField(default=True, db_index=True)
Remove the unique index.

4) Create and run the migration.
Now, this field doesn't have of any indexes in database.

p.s. Mysql database

"	Bug	closed	Migrations	1.9	Normal	duplicate			Unreviewed	0	0	0	0	0	0
