在Doctrine2中生成模型2
-
30-09-2019 - |
题
在Doctrine1中,可以生成模型DB。如何在CLI的Doctrine2中做到这一点?
解决方案
后来,我意识到你可以
php doctrine orm:convert-mapping --from-database yml /path/to/mapping-path-converted-to-yml
不隶属于 StackOverflow
题
在Doctrine1中,可以生成模型DB。如何在CLI的Doctrine2中做到这一点?
解决方案
后来,我意识到你可以
php doctrine orm:convert-mapping --from-database yml /path/to/mapping-path-converted-to-yml