Domanda

In doctrine1 è stato possibile generare-modelli-db. Come farlo in Doctrine2 dalla CLI?

È stato utile?

Soluzione

I finiscono per attuare nuovo comando https://github.com/umpirsky/doctrine2/blob/master/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesDbCommand.php :)

Più tardi, mi sono reso conto che puoi

php doctrine orm:convert-mapping --from-database yml /path/to/mapping-path-converted-to-yml
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top