Specify the order of columns in the table.
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)
| Description: |
modified (diff)
|
| Description: |
modified (diff)
|
| Resolution: |
→ invalid
|
| Status: |
new → closed
|
| Summary: |
Schema Modification using Migrations → Specify the order of columns in the table.
|
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: