﻿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
32805	makemigrations seems to generate an unnecessary AlterField	Matthew Cornell	nobody	I have a model that's evolved over time. I needed to hand-code my last migration ( migrations/0017_forecast_issued_at.py ) to migrate existing data from a `DateField` to a `DateTimeField`. However, when I then run `makemigrations` ( migrations/0018_auto_20210601_0946.py ), it generates what looks to me like a redundant `AlterField` operation where it wants to set the new `DateTimeField`'s `db_index=True` even though it's already True in the previous (0017) migration. I've attached the model file ( models/forecast.py ) plus the two migration files. Questions: Is this behavior expected? Thank you!	Uncategorized	closed	Migrations	3.1	Normal	invalid			Unreviewed	0	0	0	0	0	0
