Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit f948bb371e44c50e3c1b585f10f485eafcbae602 1 parent 1514266
Boulder Sprinters authored
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',
}
Please sign in to comment.
Something went wrong with that request. Please try again.