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 | |
Please login to continue.