mirror of
https://github.com/django/django.git
synced 2025-01-10 18:36:05 +00:00
Removed obsolete comment about IntegerField introspection on Oracle.
Obsolete since e9d12bae1e
.
This commit is contained in:
parent
493f7e9e1e
commit
7d8fc65f36
@ -30,7 +30,6 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
|
|||||||
cache_bust_counter = 1
|
cache_bust_counter = 1
|
||||||
|
|
||||||
def get_field_type(self, data_type, description):
|
def get_field_type(self, data_type, description):
|
||||||
# If it's a NUMBER with scale == 0, consider it an IntegerField
|
|
||||||
if data_type == cx_Oracle.NUMBER:
|
if data_type == cx_Oracle.NUMBER:
|
||||||
precision, scale = description[4:6]
|
precision, scale = description[4:6]
|
||||||
if scale == 0:
|
if scale == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user