Fixed #8347 -- Added a few missing field type conversion to SQLite's inspectdb
handling. Patch from trbs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3111d7f60b
commit
4f711eb5e3
|
@ -11,9 +11,13 @@ class FlexibleFieldLookupDict:
|
||||||
'bool': 'BooleanField',
|
'bool': 'BooleanField',
|
||||||
'boolean': 'BooleanField',
|
'boolean': 'BooleanField',
|
||||||
'smallint': 'SmallIntegerField',
|
'smallint': 'SmallIntegerField',
|
||||||
|
'smallint unsigned': 'PositiveSmallIntegerField',
|
||||||
'smallinteger': 'SmallIntegerField',
|
'smallinteger': 'SmallIntegerField',
|
||||||
'int': 'IntegerField',
|
'int': 'IntegerField',
|
||||||
'integer': 'IntegerField',
|
'integer': 'IntegerField',
|
||||||
|
'integer unsigned': 'PositiveIntegerField',
|
||||||
|
'decimal': 'DecimalField',
|
||||||
|
'real': 'FloatField',
|
||||||
'text': 'TextField',
|
'text': 'TextField',
|
||||||
'char': 'CharField',
|
'char': 'CharField',
|
||||||
'date': 'DateField',
|
'date': 'DateField',
|
||||||
|
|
Loading…
Reference in New Issue