mirror of
https://github.com/django/django.git
synced 2025-09-27 12:39:17 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ DATA_TYPES_REVERSE = {
|
|||
FIELD_TYPE.SHORT: 'IntegerField',
|
||||
FIELD_TYPE.STRING: 'TextField',
|
||||
FIELD_TYPE.TIMESTAMP: 'DateTimeField',
|
||||
FIELD_TYPE.TINY: 'IntegerField',
|
||||
FIELD_TYPE.TINY_BLOB: 'TextField',
|
||||
FIELD_TYPE.MEDIUM_BLOB: 'TextField',
|
||||
FIELD_TYPE.LONG_BLOB: 'TextField',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue