соответственно по указанному пути создал бд source.db и ввел указанный в мануале запрос:
CREATE TABLE User (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
username VARCHAR(128) NOT NULL,
password VARCHAR(128) NOT NULL,
email VARCHAR(128) NOT NULL
);
После этого перехожу к этапу 1.3.2 Implementing CRUD Operations - открываю yiic shell и пишу model User и вот что пишет мне шелл:
Z:homeyii.testwwwtest>..frameworkyiic shell
Yii Interactive Tool v1.0
Please type 'help' for help. Type 'exit' to quit.
>> model User
Warning: the table 'User' does not exist in the database.
unchanged User.php
The 'User' class has been successfully created in the following file:
Z:homeyii.testwwwtestprotectedmodelsUser.php
If you have a 'db' database connection, you can test it now with:
$model=User::model()->find();
print_r($model);
>>