diff options
author | Claude Paroz <claude@2xlibre.net> | 2012-12-13 22:11:06 +0100 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2013-03-02 10:29:02 +0100 |
commit | 8ee1eddb7e148de89aebde9e68da495633fc1ec9 (patch) | |
tree | 36b83db0cf15b0be47557449b9ed056646099542 /django/db/backends/oracle/creation.py | |
parent | 0f306cad8442f9808e4410f190f434144ff6376a (diff) | |
download | django-8ee1eddb7e148de89aebde9e68da495633fc1ec9.tar.gz |
Add a BinaryField model field
Thanks Michael Jung, Charl Botha and Florian Apolloner for review
and help on the patch.
Diffstat (limited to 'django/db/backends/oracle/creation.py')
-rw-r--r-- | django/db/backends/oracle/creation.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/oracle/creation.py b/django/db/backends/oracle/creation.py index 1cc3957232..aaca74e8d1 100644 --- a/django/db/backends/oracle/creation.py +++ b/django/db/backends/oracle/creation.py @@ -17,6 +17,7 @@ class DatabaseCreation(BaseDatabaseCreation): data_types = { 'AutoField': 'NUMBER(11)', + 'BinaryField': 'BLOB', 'BooleanField': 'NUMBER(1) CHECK (%(qn_column)s IN (0,1))', 'CharField': 'NVARCHAR2(%(max_length)s)', 'CommaSeparatedIntegerField': 'VARCHAR2(%(max_length)s)', |