summaryrefslogtreecommitdiff
path: root/django/db/backends/oracle/introspection.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-15 13:33:55 -0500
committerTim Graham <timograham@gmail.com>2017-02-15 20:15:02 -0500
commitb008f7cc5655d01817a8825e6317877b43c92181 (patch)
tree4e70b2dbab77c2dee5e6fdc43c87535c52126740 /django/db/backends/oracle/introspection.py
parenta7214f0e84913a27e0b73de89d4c827ef1c53b94 (diff)
downloaddjango-b008f7cc5655d01817a8825e6317877b43c92181.tar.gz
Fixed #27135 -- Made index introspection return Index.suffix.
Diffstat (limited to 'django/db/backends/oracle/introspection.py')
-rw-r--r--django/db/backends/oracle/introspection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/oracle/introspection.py b/django/db/backends/oracle/introspection.py
index 056edb6ce6..be6032180a 100644
--- a/django/db/backends/oracle/introspection.py
+++ b/django/db/backends/oracle/introspection.py
@@ -274,7 +274,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
"foreign_key": None,
"check": False,
"index": True,
- "type": 'btree' if type_ == 'normal' else type_,
+ "type": 'idx' if type_ == 'normal' else type_,
}
# Record the details
constraints[constraint]['columns'].append(column)