Dev tools auto generate model and keep model methods

Hello,

I want to use phalcon dev tools to generate all my models but I have a problem if I want to update 1 field inside my existing model (e.g a new foreign key) and if I have afterFetch method etc... phalcon dev tools will not keeping the afterFetch inside my model because the files is totally regenerated.

How can I do ? I have to do the diff myself ?

update your phalcon devtools

i just made a test (3.4.0) with different method names including afterFetch and its still there