How to determine order of colums in table?

2019-09-03 16:39发布

问题:

I defined an Symfony2 entity class and I want to create the corresponding table in my database. This works fine thanks to the command 'php app/console doctrine:schema:update --force'.

But the order of the columns isn't equal to the order in my class. Any way to get them in the same order?