From ed9c870e45f3dd53e43f786d9a303ac1ae2a9f03 Mon Sep 17 00:00:00 2001 From: Boulder Sprinters Date: Thu, 12 Apr 2007 21:05:21 +0000 Subject: [PATCH] boulder-oracle-sprint: Fixed serializers_regress test case failure by changing IPAdressField to be a VARCHAR2(15) on Oracle. git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5001 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/backends/oracle/creation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/oracle/creation.py b/django/db/backends/oracle/creation.py index a76df6ae17..b2ee84c643 100644 --- a/django/db/backends/oracle/creation.py +++ b/django/db/backends/oracle/creation.py @@ -17,7 +17,7 @@ DATA_TYPES = { 'FloatField': 'NUMBER(%(max_digits)s, %(decimal_places)s)', 'ImageField': 'VARCHAR2(100)', 'IntegerField': 'NUMBER(11)', - 'IPAddressField': 'CHAR(15)', + 'IPAddressField': 'VARCHAR2(15)', 'ManyToManyField': None, 'NullBooleanField': 'NUMBER(1) CHECK ((%(column)s IN (0,1)) OR (%(column)s IS NULL))', 'OneToOneField': 'NUMBER(11)',