yii - Updating the existing model with Model Generator -


i generate model model generator , (afterward) add new table , new foreign keys relations.

is possible update existing model model generator?

or need edit code manually when add new table?

have @ gii-template-collection , it's fullmodel template.

it generates default 2 classes models, basemodel , model. best-practice me add custom functions, behaviors, scopes, etc... model , leave basemodel untouched.

if have changes in database schema, re-generate basemodel class.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -