开发者

Orm class files are missing in propel

开发者 https://www.devze.com 2023-03-21 09:18 出处:网络
I have installed propel in my windows xampp server,but it was not generating orm classes. Inside class folder it does not have \"map & Orm\" folder while I install.So when I e开发者_开发百科xecute

I have installed propel in my windows xampp server,but it was not generating orm classes. Inside class folder it does not have "map & Orm" folder while I install.So when I e开发者_开发百科xecute the page it returns error that says "Class UserQuery not found". So please suggest me if I miss anything.Thanks..


You need to write a schema.xml and, then, build model by running:

./generator/bin/propel-gen main

(Or om, main will generate SQL files too)

0

精彩评论

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