Dotrine::Zend::How generate new doctrine models without delete doctrine models classes with my code
- by Yosef
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