Here is a summary how to create a Database in symfony2 using CLI.
There are 3 roughly steps to create a database.
Create a class with annotation, or whatever format that you want.
Create database- which is set in the parameter.yml:
Create database- which is set in the parameter.yml:
$ php app/console doctrine:database:createCreate table following the annotation:
$ php app/console doctrine:schema:create
No comments:
Post a Comment