I follow the blog totorial on this site to start with yii. Im now in the section where i should setting up the db:
Blog Tutorial. But there occurs an error that the databases already exists. This is what i do:
I copy the "blog.db" data into the folder "…blog/proteced/data" and run "sqlite3.exe". At the first time i run it there comes a message that the tbl_user already exists. Now i run it again and there comes a message that five tables already exists.
But if i use the Model Generator of the Gii Tool, im only able to create a Model for “tbl_user”, not for the other tables like “Post”. If i try to create a model for post, the tool shows me an error that the table not exists. Seems like the db hasen’t be created. What did i wrong?
If its change something: i try to run the tutorial with xampp on my local computer and not at a webserver.