DROP INDEX subcommand
Attached is a patch for a subcommand of django-admin.py that prints DROP INDEX SQL statements for a given app, as in:
$ django-admin.py sqldropindexes my_app
BEGIN;
DROP INDEX my_app_people_name;
DROP INDEX my_app_people_email;
COMMIT;
This is useful for speeding up a big INSERT. Indexes can then be rebuilt with django-admin.py sqlindexes my_app
.
Summary: |
[patch] DROP INDEX subcommand → DROP INDEX subcommand
|
Triage Stage: |
Unreviewed → Accepted
|
Severity: |
→ Normal
|
Type: |
→ New feature
|
Easy pickings: |
unset
|
Needs tests: |
set
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Change UI/UX from NULL to False.