src/Db/Schema.php
protected function setTableMetadata($name, $type, $data)
    {
        $rawName = $this->getRawTableName($name);
        $this->_tableMetadata[$rawName] = isset($this->_tableMetadata[$rawName]) ? $this->_tableMetadata[$rawName] : [];
        $this->_tableMetadata[$rawName][$type] = $data;
    }
protected function setTableMetadata($name, $type, $data)
    {
        $rawName = $this->getRawTableName($name);
        $this->_tableMetadata[$rawName] = isset($this->_tableMetadata[$rawName]) ? $this->_tableMetadata[$rawName] : [];
        $this->_tableMetadata[$rawName][$type] = $data;
    }
Sets the metadata of the given type for the given table.
@param string $name table name.
@param string $type metadata type.
@param mixed $data metadata.