#27064: Implement RenameIndex in a backwards compatible way
-----------------------------------+------------------------------------
Reporter: Markus Holtermann | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Comment (by felixxm):
> On MySQL (or other DBs) that don't support RENAME INDEX, provide SQL
query to look up index name from information_schema by field names and
pass in to DROP INDEX.
`RENAME INDEX` is now supported on
[https://dev.mysql.com/doc/refman/5.7/en/alter-table.html MySQL 5.7+] and
[https://mariadb.com/kb/en/alter-table/#rename-indexkey MariaDB 10.5.2+].
--
Ticket URL: <https://code.djangoproject.com/ticket/27064#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.7dc24b50fc0a57451c41aee476666aa5%40djangoproject.com.