Where are the SQL Statements


There’s none there. Only a bunch of nonsense posts.

You will find it in your Yii installation, in the subdirectory demos/blog/protected/data/.

BTW welcome to the forum.


I have same question, starting to learh yii today

There I can find sql statement for users table only, but there should be more: posts, comments, tags…

Where are you looking exactly?

I’ve just checked in the unzipped yii-1.1.10.r3566 (version 1.10) and I find all tables in [font=“Courier New”]schema.mysql.sql[/font] or [font=“Courier New”]schema.sqlite.sql[/font]

strange, I’ve uploaded framework again and now I see all sql statements there, thank you.