symfony1propelsymfony-1.4

symfony 1.4.5 build-model error of duplicate table


i added a new mysql table and did a build-schema my config/schema.yml contains my new table now when i run the build-model i get: Some problems occurred when executing the task:

build-propel.xml:474:20: Duplicate table found: propel.                                                                      

build-propel.xml:461:22: Execution of the target buildfile failed. Aborting.

If the exception message is not clear enough, read the output of the task for
more information

how on earth must i find the duplicate table?? please help? thank you


Solution

  • I've had this problem before. It is due to any schema.xml files lying around in your config folder. Try deleting these and run the command again.