src/Db/Command.php
protected function refreshTableSchema()
    {
        if ($this->_refreshTableName !== null) {
            return $this->db->getSchema()->refreshTableMetadata($this->_refreshTableName);
        }
        return resolve(true);
    }
protected function refreshTableSchema()
    {
        if ($this->_refreshTableName !== null) {
            return $this->db->getSchema()->refreshTableMetadata($this->_refreshTableName);
        }
        return resolve(true);
    }
Refreshes table schema, which was marked by [[requireTableSchemaRefresh()]].
@return ExtendedPromiseInterface to know when finished