// Load all tables of the application in the schema Yii::app()->db->schema->getTables(); // clear the cache of all loaded tables Yii::app()->db->schema->refresh();

yii1 refresh schema

Similar Code Examples