Refresh Database Tables Yii 1

[Solved] Refresh Database Tables Yii 1 | Php Frameworks Yii - Code Explorer | yomemimo.com
Question : refresh database tables yii 1

Answered by : drab-duck-2hjxifkadx4t

public action refreshSchema()
{
// 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();
}

Source : | Last Update : Sat, 28 Nov 20

Answers related to refresh database tables yii 1

Code Explorer Popular Question For Php Frameworks Yii