I am new to Symfony and now I am currently doing an application using this framework. I am now trying to generate entities from an existing database and while I run the following command:
php app\console doctrine:mapping:convert annotation .\src\AppBundle\Resources\config\doctrine
I've got this error message:
No Metadata Classes to process.
Could you please tell me what's happening with this?
From the docs, it seems you are missing the --from-database argument. I've never used that tool though.
http://symfony.com/fr/doc/current/cookbook/doctrine/reverse_engineering.html
php app/console doctrine:mapping:convert xml ./src/Acme/BlogBundle/Resources/config/doctrine/metadata/orm --from-database --force
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With