Search code examples
phpsymfony-1.4propel

Symfony did not create model


I am going through symfony book and trying to do jobeet project(I use propel).. so here what book says

The ORM also generates PHP classes that map table records to objects: $ php symfony propel:build --model The propel:build --model task generates PHP files in the lib/model/ directory that can be used to interact with the database.

I run that command and when i go to lib/ direcotry , there is no model folder :/


Solution

  • You have to write:

    $ php symfony propel:build-model