Browse files

Fixed reverse type mapping in Oracle introspection.py: cx_Oracle.STRI…

…NG is a VARCHAR2/CharField, not TextField.

git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 1514266 commit f948bb371e44c50e3c1b585f10f485eafcbae602 Boulder Sprinters committed May 15, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/oracle/introspection.py
View
2 django/db/backends/oracle/introspection.py
@@ -93,6 +93,6 @@ def get_indexes(cursor, table_name):
cx_Oracle.FIXED_CHAR: 'CharField',
cx_Oracle.NCLOB: 'TextField',
cx_Oracle.NUMBER: 'FloatField',
- cx_Oracle.STRING: 'TextField',
+ cx_Oracle.STRING: 'CharField',
cx_Oracle.TIMESTAMP: 'DateTimeField',
}

0 comments on commit f948bb3

Please sign in to comment.