Generating DB schema from model in Yii
No, in yii a models attributes are dynamic and come from the database. Any properties defined in the model are not attributes and therefore not in the database. For this reason if you add a new column to the post table the Post model will automatically have a magic
property of that column.
What I think you're after are Migrations