console\controllers\CacheController actionFlushSchema()

actionFlushSchema() public method (available since version 2.0.1)

Clears DB schema cache for a given connection component.

# clears cache schema specified by component id: "db"
yii cache/flush-schema db
public integer actionFlushSchema ( $db = 'db' )
$db string

Id connection component

return integer

Exit code

throws yii\console\Exception
throws yii\base\InvalidConfigException
doc_Yii
2016-10-30 16:55:02
Comments
Leave a Comment

Please login to continue.