1
0
mirror of https://github.com/django/django.git synced 2025-01-22 00:02:15 +00:00

Fixed test failures in Oracle introspection

Refs #17785
This commit is contained in:
Shai Berger 2015-01-13 00:57:52 +02:00
parent 5d7217dce3
commit aa8ee6a573

View File

@ -98,7 +98,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
relations = {}
for row in cursor.fetchall():
relations[row[0]] = (row[2], row[1].lower())
relations[row[0].lower()] = (row[2].lower(), row[1].lower())
return relations
def get_key_columns(self, cursor, table_name):