i have generated some tables from entities using the :
php app/console generate:doctrine:entity
php app/console doctrine:schema:update --dump-sql
php app/console doctrine:schema:update --force
where can i find the generated schema file , describing all the table and fields that has been generated?
What’s the best procedure to remove entities and table ?
php app/console doctrine:schema:update --dump-sqldumps the sql generated and executed in the command prompt, there is are no files generated with this command (asfar as I know).A Doctrine table in the database should be seen as a collection of objects, if you want the table removed, remove the entity that holds the data and use the command
php app/console doctrine:schema:update --force.If you want to change fields in the table, change the fields in the entity class holding the data and again use
php app/console doctrine:schema:update --force