When using the command:
$ php app/console doctrine:schema:create
We get this message
ATTENTION: This operation should not be performed in a production environment.
Why should not we use it in production?How should we perform the first deployment?
Ahaha there are different schools for this.
Startup path: doctrine: schema: create first time in production, doctrine: schema: update --force every updates
Caution: dump sql first time, sql scripts and then for updates
Expert way: http://symfony.com/doc/master/bundles/DoctrineMigrationsBundle/index.html
Personally, I use the first method, which works fine. You can always do -dump-sql to find out what happens before the update using -force