#31411 closed Cleanup/optimization (fixed)
Use RENAME COLUMN on MariaDB 10.5.2+.
Reported by: | Mariusz Felisiak | Owned by: | Hasan Ramezani |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | mariadb |
Cc: | Adam Johnson | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
We can simplify renaming columns on MariaDB 10.5.2 with a default (from BaseDatabaseSchemaEditor
) ALTER TABLE ... RENAME COLUMN ... TO ...
statement.
Change History (8)
comment:1 by , 5 years ago
Easy pickings: | set |
---|
comment:2 by , 5 years ago
Cc: | added |
---|
comment:3 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 5 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:5 by , 5 years ago
Has patch: | set |
---|
comment:6 by , 5 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR