Updating Table Structure and Model


(Cihan Goekgoez) #1

Hello every body,

What is the best way to (auto) Update Table Structure and Model if i want to add a new column in the table? Has it a better way as to make this manuel? With gii we can create the models, but not update them if somethign change.

Thaknks for helping.

cihan


(Amjad Mghl) #2

hi,

use Gii and then check the difference.

Overwrite if needed.

thanks