I have just installed symfony2 and I used this statement
php app/console doctrine:schema:create
When I see the database table, there is only one table and that is for my entity.
I can’t see any base tables.
Is that normal??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is absolutely normal. Symfony is a framework, it doesn’t need any database tables. All settings for it are saved in configuration files which can be found in
/app/configdirectory (application config files). And config files for bundles can be found inbundle_dir/Resources/configDatabase is for your entities only. Have in mind that if you use “Doctrine Migrations”, it will indeed create one database table called “doctrine_migrations”.