Table management

Yii framework has a nice abstraction layer between an application and a database, which allows to get db/tables schemas, build commands and other stuff. But I didn’t find any methods allowing to create tables, columns (and other related operations) in an easy and universal way.

I understand, it is not a very popular operation, but now, when I would like to create some tables from my application, I have to ask this question :)

Any thoughts?