﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26833	alter_field() fails to drop indexes on columns with mixed case on Oracle	Jon Dufresne	nobody	"On fields that set `db_column` with mixed case, `alter_field()` fails to drop indexes on Oracle.

Due to Oracle's `uppercases_column_names` feature, [https://github.com/django/django/blob/8db889eaf7dce0cb715b075be32047c1b1b316da/django/db/backends/oracle/introspection.py#L158 get_constraints() returns all columns as lower case]. However, `alter_field()` use of [https://github.com/django/django/blob/8db889eaf7dce0cb715b075be32047c1b1b316da/django/db/backends/base/schema.py#L938-L961 _constraint_names()] compares the column name as set by `db_column`. This must be accounted for on Oracle for the index to be properly dropped."	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed			Accepted	1	0	0	0	0	0
