Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

boulder-oracle-sprint: Fixed #3722. Thanks to Ben Khoo for the catch …

…and the

patch.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 09005281ac54effa58befb9fe8aba2327f2a8136 1 parent ca343fc
authored March 14, 2007

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/db/backends/oracle/creation.py
4  django/db/backends/oracle/creation.py
@@ -22,8 +22,8 @@
22 22
     'NullBooleanField':             'NUMBER(1) CHECK ((%(column)s IN (0,1)) OR (%(column)s IS NULL))',
23 23
     'OneToOneField':                'NUMBER(11)',
24 24
     'PhoneNumberField':             'VARCHAR2(20)',
25  
-    'PositiveIntegerField':         'NUMBER(11) CHECK (%(column)s >= 1)',
26  
-    'PositiveSmallIntegerField':    'NUMBER(11) CHECK (%(column)s >= 1)',
  25
+    'PositiveIntegerField':         'NUMBER(11) CHECK (%(column)s >= 0)',
  26
+    'PositiveSmallIntegerField':    'NUMBER(11) CHECK (%(column)s >= 0)',
27 27
     'SlugField':                    'VARCHAR2(50)',
28 28
     'SmallIntegerField':            'NUMBER(11)',
29 29
     'TextField':                    'NCLOB',

0 notes on commit 0900528

Please sign in to comment.
Something went wrong with that request. Please try again.