#31411: Use RENAME COLUMN on MariaDB 10.5.2+.
-------------------------------------+-------------------------------------
Reporter: felixxm | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords: mariadb
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
We can simplify renaming columns on MariaDB 10.5.2 with a default (from
`BaseDatabaseSchemaEditor`) `ALTER TABLE ... RENAME COLUMN ... TO ...`
statement.
See https://mariadb.com/kb/en/alter-table/#rename-column.
--
Ticket URL: <https://code.djangoproject.com/ticket/31411>
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/050.3a396cce36dc76edd11936bc64ef6a89%40djangoproject.com.