Skip to content

Commit

Permalink
Fixed reverse type mapping in Oracle introspection.py: cx_Oracle.STRI…
Browse files Browse the repository at this point in the history
…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
Boulder Sprinters committed May 15, 2007
1 parent 1514266 commit f948bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/backends/oracle/introspection.py
Expand Up @@ -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.