[Answer]-Add field to model using south with django

1👍

You would have to create a new table with the column order that you want, most likely. MySQL and PostgreSQL in particular don’t reorder column names, and aren’t changeable after table creation.

So, create a temp table in the order you want, dump all data, drop the old table, and rename the temp table to be the name you want.

However, unless it’s for the sake of your own OCD, there’s no real reason to do this.

👤Jordan

Leave a comment