#33466 closed New feature (invalid)
Specify the order of columns in the table.
Reported by: | Kennedy Mwenda | Owned by: | nobody |
---|---|---|---|
Component: | Migrations | Version: | 4.0 |
Severity: | Normal | Keywords: | migrations, column after, mysql |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
MySQL Specific: Let's say I've a table with columns first_name, last_name, address later on I may need to add column middle_name AFTER first_name
Currently there no way to do this using migrations. I've checked RunSQL but I don't whether this is the way of doing it.
Change History (4)
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 by , 3 years ago
Summary: | Schema Modification using Migrations → Specify the order of columns in the table. |
---|
Note:
See TracTickets
for help on using tickets.
Does the order in which the columns are added to the table really matter to you? I cannot image any scenario where this could be an issue. You can always do this in 4 steps: