Drop MySQL Table Field

Hey,

I just got started with Yii, but did not find a topic within the forums that helps me. I am currently integrating Yii into my old homepage. After I created the Models and a Controller for the User model I realized that I don’t need a certain MySQL table field anymore. I deleted it from the table and the User model, the controller and some views. Is there a more comfortable way to delete a MySQL table field?

Thanks

Tim

There is no automatic way of doing it…

If you did not add any custom code… you can generate it again with Gii… but this is not a good idea if you added some custom code as it would be overwritten…