1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

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
This commit is contained in:
Boulder Sprinters 2007-04-12 21:05:21 +00:00
parent 8062ebbb18
commit ed9c870e45

View File

@ -17,7 +17,7 @@ DATA_TYPES = {
'FloatField': 'NUMBER(%(max_digits)s, %(decimal_places)s)', 'FloatField': 'NUMBER(%(max_digits)s, %(decimal_places)s)',
'ImageField': 'VARCHAR2(100)', 'ImageField': 'VARCHAR2(100)',
'IntegerField': 'NUMBER(11)', 'IntegerField': 'NUMBER(11)',
'IPAddressField': 'CHAR(15)', 'IPAddressField': 'VARCHAR2(15)',
'ManyToManyField': None, 'ManyToManyField': None,
'NullBooleanField': 'NUMBER(1) CHECK ((%(column)s IN (0,1)) OR (%(column)s IS NULL))', 'NullBooleanField': 'NUMBER(1) CHECK ((%(column)s IN (0,1)) OR (%(column)s IS NULL))',
'OneToOneField': 'NUMBER(11)', 'OneToOneField': 'NUMBER(11)',