php - Generate Entities from an Existing Database -
i new symfony , doing application using framework. trying generate entities existing database , while run following command:
php app\console doctrine:mapping:convert annotation .\src\appbundle\resources\config\doctrine
i've got error message:
no metadata classes process.
could please tell me what's happening this?
from docs, seems missing --from-database argument. i've never used 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