I try to use YII for develop application, but when i follow manual "Building a Blog System using Yii' i have difficult because when i execute command crud table i have error Table does not have Primary Key.
The crud command requires primary key to be defined in your tables. If you are working with legacy tables and can't specify primary key, you can declare it in primaryKey() method of your model class.