Add field after scaffold

Hi.

I added one field (name) after the scaffold, but when i try to create i receive.

CDbException

CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 19 tbl_group.name may not be NULL. The SQL statement executed was: INSERT INTO ‘tbl_group’ (“description”, “created”, “created_by”, “update”, “update_by”) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4) (/Developer/YII/framework/db/CDbCommand.php:336).

So, i cant find the name field. i tried to change the model, but no luck until now.

declare the field ‘name’ as required or safe in your models rules-method

Thanks,

you saved my life.