yii1 refresh schema

Solutions on MaxInterview for yii1 refresh schema by the best coders in the world

showing results for - "yii1 refresh schema"
Lisa
27 May 2017
1
2
3
4// Load all tables of the application in the schema
5
6Yii::app()->db->schema->getTables();
7
8// clear the cache of all loaded tables
9
10Yii::app()->db->schema->refresh();
11
12
13
14