diff --git a/django/db/backends/oracle/creation.py b/django/db/backends/oracle/creation.py
index 5485830..46cd277 100644
a
|
b
|
class DatabaseCreation(BaseDatabaseCreation):
|
19 | 19 | 'AutoField': 'NUMBER(11)', |
20 | 20 | 'BinaryField': 'BLOB', |
21 | 21 | 'BooleanField': 'NUMBER(1) CHECK (%(qn_column)s IN (0,1))', |
22 | | 'CharField': 'NVARCHAR2(%(max_length)s)', |
| 22 | 'CharField': 'VARCHAR2(%(max_length)s)', |
23 | 23 | 'CommaSeparatedIntegerField': 'VARCHAR2(%(max_length)s)', |
24 | 24 | 'DateField': 'DATE', |
25 | 25 | 'DateTimeField': 'TIMESTAMP', |
26 | 26 | 'DecimalField': 'NUMBER(%(max_digits)s, %(decimal_places)s)', |
27 | | 'FileField': 'NVARCHAR2(%(max_length)s)', |
28 | | 'FilePathField': 'NVARCHAR2(%(max_length)s)', |
| 27 | 'FileField': 'VARCHAR2(%(max_length)s)', |
| 28 | 'FilePathField': 'VARCHAR2(%(max_length)s)', |
29 | 29 | 'FloatField': 'DOUBLE PRECISION', |
30 | 30 | 'IntegerField': 'NUMBER(11)', |
31 | 31 | 'BigIntegerField': 'NUMBER(19)', |
… |
… |
class DatabaseCreation(BaseDatabaseCreation):
|
35 | 35 | 'OneToOneField': 'NUMBER(11)', |
36 | 36 | 'PositiveIntegerField': 'NUMBER(11) CHECK (%(qn_column)s >= 0)', |
37 | 37 | 'PositiveSmallIntegerField': 'NUMBER(11) CHECK (%(qn_column)s >= 0)', |
38 | | 'SlugField': 'NVARCHAR2(%(max_length)s)', |
| 38 | 'SlugField': 'VARCHAR2(%(max_length)s)', |
39 | 39 | 'SmallIntegerField': 'NUMBER(11)', |
40 | | 'TextField': 'NCLOB', |
| 40 | 'TextField': 'CLOB', |
41 | 41 | 'TimeField': 'TIMESTAMP', |
42 | 42 | 'URLField': 'VARCHAR2(%(max_length)s)', |
43 | 43 | } |