Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
Boulder Sprinters authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/backends/oracle/creation.py
View
4 django/db/backends/oracle/creation.py
@@ -22,8 +22,8 @@
'NullBooleanField': 'NUMBER(1) CHECK ((%(column)s IN (0,1)) OR (%(column)s IS NULL))',
'OneToOneField': 'NUMBER(11)',
'PhoneNumberField': 'VARCHAR2(20)',
- 'PositiveIntegerField': 'NUMBER(11) CHECK (%(column)s >= 1)',
- 'PositiveSmallIntegerField': 'NUMBER(11) CHECK (%(column)s >= 1)',
+ 'PositiveIntegerField': 'NUMBER(11) CHECK (%(column)s >= 0)',
+ 'PositiveSmallIntegerField': 'NUMBER(11) CHECK (%(column)s >= 0)',
'SlugField': 'VARCHAR2(50)',
'SmallIntegerField': 'NUMBER(11)',
'TextField': 'NCLOB',
Please sign in to comment.
Something went wrong with that request. Please try again.