Fixed #1830 -- MySQL inspectdb now detects tinyint field properly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
47d18514b0
commit
aa6b13c96b
|
@ -87,6 +87,7 @@ DATA_TYPES_REVERSE = {
|
||||||
FIELD_TYPE.SHORT: 'IntegerField',
|
FIELD_TYPE.SHORT: 'IntegerField',
|
||||||
FIELD_TYPE.STRING: 'TextField',
|
FIELD_TYPE.STRING: 'TextField',
|
||||||
FIELD_TYPE.TIMESTAMP: 'DateTimeField',
|
FIELD_TYPE.TIMESTAMP: 'DateTimeField',
|
||||||
|
FIELD_TYPE.TINY: 'IntegerField',
|
||||||
FIELD_TYPE.TINY_BLOB: 'TextField',
|
FIELD_TYPE.TINY_BLOB: 'TextField',
|
||||||
FIELD_TYPE.MEDIUM_BLOB: 'TextField',
|
FIELD_TYPE.MEDIUM_BLOB: 'TextField',
|
||||||
FIELD_TYPE.LONG_BLOB: 'TextField',
|
FIELD_TYPE.LONG_BLOB: 'TextField',
|
||||||
|
|
Loading…
Reference in New Issue