﻿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
23357	MySQL DatabaseIntrospection.data_types_reverse for FIELD_TYPE.SHORT is wrong type	Jon Dufresne	nobody	"The MySQL backend maps a database field of type `FIELD_TYPE.SHORT` to `IntegerField`, but it seems to me that it should map to `SmallIntegerField`. The `SmallIntegerField` field class produces a `smallint` which eventually ends up as data type `FIELD_TYPE.SHORT`.

This can be found in file `django/db/backends/mysql/introspection.py`, class attribute `DatabaseIntrospection.data_types_reverse[FIELD_TYPE.SHORT]`.

Contrast this with the file `django/db/backends/mysql/creation.py`, class attribute `DatabaseCreation.data_types['SmallIntegerField']`."	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed	introspection		Ready for checkin	1	0	0	0	0	0
