How to determine order of colums in table?

一笑奈何 提交于 2019-12-25 06:57:56

问题


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?

来源:https://stackoverflow.com/questions/27283284/how-to-determine-order-of-colums-in-table

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!