I've a previously created DB with sfDoctrineGuard tables and also two more tables: almunos and socios. I'm trying to run the task
symfony doctrine:build-schema
and aparently seems to work but surprise only the tables related to sfDoctrineGuard plugin appears and not the others two. Why? Did I miss something? What I'm doing wrong?
As the task description says:
The
doctrine:build-schema
task introspects a database to create a schema:./symfony doctrine:build-schema
The task creates a yml file in
config/doctrine
.
So you have to look inside the folder config/doctrine
to check the generated schema.yml
.