Hi folks, I want to ask about model. I’ve already built a model using gii generator, then I realize I should add or even erase some attribute in the table. How can I update the generated code model. Just by make new public attribute? or overwrite the previous model?
If overwrite the previous model, should I add or update again some code that I’ve already modified in the model (like adding beforeSave() and change label in attributeLabel again)? .