mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #11049: introspection on Oracle now identifies IntegerFields correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -73,7 +73,7 @@ class Command(NoArgsCommand):
|
||||
extra_params['db_column'] = column_name
|
||||
else:
|
||||
try:
|
||||
field_type = connection.introspection.data_types_reverse[row[1]]
|
||||
field_type = connection.introspection.get_field_type(row[1], row)
|
||||
except KeyError:
|
||||
field_type = 'TextField'
|
||||
comment_notes.append('This field type is a guess.')
|
||||
|
||||
Reference in New Issue
Block a user