M
M
maiskiykot2018-12-24 03:10:29
Yii
maiskiykot, 2018-12-24 03:10:29

What is the correct way to modify a Yii model?

Greetings. Previously, I created everything from scratch and did not attach any importance. But then there was a need to add an attribute to the Yii2 model. Tell me, plizz, how to do it correctly so that all connections are redefined? That is, I had product_id, product_name, and now I need to add another product_range. There isn't much written about this process anywhere.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question