yiisoft/yii2 · error · yii\base\NotSupportedException
{} does not support fetching all table names.
Error message
{} does not support fetching all table names. What it means
Error "{} does not support fetching all table names." thrown in yiisoft/yii2.
Source
Thrown at framework/db/Schema.php:166
* @throws NotSupportedException if this method is not supported by the DBMS.
* @since 2.0.4
*/
protected function findSchemaNames()
{
throw new NotSupportedException(get_class($this) . ' does not support fetching all schema names.');
}
/**
* Returns all table names in the database.
* This method should be overridden by child classes in order to support this feature
* because the default implementation simply throws an exception.
* @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema.
* @return array all table names in the database. The names have NO schema name prefix.
* @throws NotSupportedException if this method is not supported by the DBMS.
*/
protected function findTableNames($schema = '')
{
throw new NotSupportedException(get_class($this) . ' does not support fetching all table names.');
}
/**
* Loads the metadata for the specified table.
* @param string $name table name
* @return TableSchema|null DBMS-dependent table metadata, `null` if the table does not exist.
*/
abstract protected function loadTableSchema($name);
/**
* Creates a column schema for the database.
* This method may be overridden by child classes to create a DBMS-specific column schema.
* @return T column schema instance.
* @throws InvalidConfigException if a column schema class cannot be created.
*/
protected function createColumnSchema()
{
return Yii::createObject($this->columnSchemaClass);View on GitHub (pinned to 66f00d18a2)
When it happens
Trigger: Thrown at framework/db/Schema.php:166 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of yiisoft/yii2@66f00d18a2 (2026-08-17).
Data as JSON: /api/errors/f198972bc0f882a3.
Report an issue: GitHub.