Answers for "yii1 refresh schema"

PHP
0

yii1 refresh schema

// 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();
Posted by: Guest on February-24-2021

Browse Popular Code Answers by Language