Configuration database file: config/databases.yml
Schema file: config/doctrine/schema.yml
1. Generate schema files from the specified database:
$ php symfony Doctrine:build-schema
2. Generate model class According to schema file:
$ php symfony doctrine:build--model
3. Generate SQL According to model:
$ php symfony doctrine:build--sql
$ php symfony Help Doctrine:insert-sql
4. Generation of all documents, including forms and validation
$ php symfony doctrine:build--all--no-confirmation
The following command can redo all the data files: Generate your forms, filters, models, Dropyour database and re-create it with the tables.
$ php symfony doctrine:build--all--and-load
Create modules for already existing model "Jobeetjob"
$ php symfony doctrine:generate-module--with-show--non-verbose-templates frontend Job Jobeetjob
Note: You can view jobeetjob information by accessing http://localhost:[port]/frontend_dev.php/job/