Permalink
Browse files

Fixed a "column" instance that wis massed in [7743].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 36cb438 commit c237ef625ca97b0e4ccbc08febadf41b7c875645 @ikelly ikelly committed Jun 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/oracle/creation.py
View
2 django/db/backends/oracle/creation.py
@@ -23,7 +23,7 @@
'ImageField': 'NVARCHAR2(%(max_length)s)',
'IntegerField': 'NUMBER(11)',
'IPAddressField': 'VARCHAR2(15)',
- 'NullBooleanField': 'NUMBER(1) CHECK ((%(qn_column)s IN (0,1)) OR (%(column)s IS NULL))',
+ 'NullBooleanField': 'NUMBER(1) CHECK ((%(qn_column)s IN (0,1)) OR (%(qn_column)s IS NULL))',
'OneToOneField': 'NUMBER(11)',
'PhoneNumberField': 'VARCHAR2(20)',
'PositiveIntegerField': 'NUMBER(11) CHECK (%(qn_column)s >= 0)',

0 comments on commit c237ef6

Please sign in to comment.