Add operation for creating database indexes and class based indexes
With all the discussion starting from Marc's DEP and continuing at various other places, the first step we can take towards having class based indexes is to create the base Index
class and an operation (CreateIndex
) to create them. This would allow us to create indexes from the migrations using a defined API of the Index
class without even touching the model layer.
A DropIndex
will also be required to be created.
Change History
(15)
Triage Stage: |
Unreviewed → Accepted
|
Has patch: |
set
|
Needs documentation: |
set
|
Needs documentation: |
unset
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
A working model - https://github.com/django/django/pull/6726/
Misses docs for the new
Index
class.