I have a database table [color="#FF0000"]tbl_goods[/color] with [b]4 column, (ID,name,image,path)[/b], and I generate Model and CRUD by Gii. I also modify most of auto-generated Model and CRUD files. However, Column image must be deleted from the database.
If I delete this column from DB by SQL tools, there would be errors in Yii Model and CRUD tools.
There are many codes I modified. If I generate the code by new DB, a lot of repeat work must be done.
My question is How to manage DB column by Yii itself . How to delete a column safely from DB to keep other changes.