From the [documentation](https://www.sqlite.org/lang_createtable.html) > If a schema-name is specified, it must be either "main", "temp", or the name of an [attached database](https://www.sqlite.org/lang_attach.html). [PRAGMA database_list;](https://sqlite.org/pragma.html#pragma_database_list) https://github.com/yiisoft/yii2/issues/20262
From the documentation
PRAGMA database_list;
yiisoft/yii2#20262