开发者

symfony 1.4.5 build-model error of duplicate table

开发者 https://www.devze.com 2023-03-13 05:25 出处:网络
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:

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开发者_如何学Go must i find the duplicate table?? please help? thank you


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.


a duplicate schema.yml or generated-schema.xml exists somewhere in your plugins, rename it to schema.yml.back or delete it. reference

0

精彩评论

暂无评论...
验证码 换一张
取 消