- To create getters & setters from entity
php app/console doctrine:generate:entities ASF
- To create database from app/config/parameters.ini
php app/console doctrine:database:create
- To create table from entity file
php app/console doctrine:schema:create
-To copy asset to production asset
php app/console assets:install web
- To clear cache
php app/console cache:clear --env=prod
php app/console cache:clear --env=dev
php app/console cache:clear --env=test
- To update table
php app/console doctrine:schema:update --force
- To update fixture
php app/console doctrine:fixtures:load
No comments:
Post a Comment