Dotrine::Zend::How generate new doctrine models without delete doctrine models classes with my code

Posted by Yosef on Stack Overflow See other posts from Stack Overflow or by Yosef
Published on 2010-05-16T21:14:20Z Indexed on 2010/05/16 21:20 UTC
Read the original article Hit count: 559

Filed under:
|

Hi, I build zend app with doctrine. The problem is when i add new tables to database and I should generate doctrine models, because I add my own code to Doctine generated classes- I dont wont to delete them. I solve this problem like that: 1. copy old generated doctine models classes to other folder 2. generate doctrine models from database 3. remove same new doctrine models class with old

I think my solution stupied, but i cant think about something else. Please help me, Thanks, Yosef

© Stack Overflow or respective owner

Related posts about doctrine

Related posts about zend