diff options
Diffstat (limited to 'django/db/backends/oracle/utils.py')
-rw-r--r-- | django/db/backends/oracle/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/backends/oracle/utils.py b/django/db/backends/oracle/utils.py index a3d03fa1f9..62285f5ee4 100644 --- a/django/db/backends/oracle/utils.py +++ b/django/db/backends/oracle/utils.py @@ -62,6 +62,8 @@ class BulkInsertMapper: TIMESTAMP = 'TO_TIMESTAMP(%s)' types = { + 'AutoField': NUMBER, + 'BigAutoField': NUMBER, 'BigIntegerField': NUMBER, 'BinaryField': BLOB, 'BooleanField': NUMBER, @@ -75,6 +77,7 @@ class BulkInsertMapper: 'PositiveBigIntegerField': NUMBER, 'PositiveIntegerField': NUMBER, 'PositiveSmallIntegerField': NUMBER, + 'SmallAutoField': NUMBER, 'SmallIntegerField': NUMBER, 'TextField': CLOB, 'TimeField': TIMESTAMP, |