Issue #2554241 by neclimdul: mysql's Schema implementation can only provide information about the default connection
parent
b06eee2089
commit
2b0de9c17a
|
@ -61,8 +61,7 @@ class Schema extends DatabaseSchema {
|
|||
$info['table'] = substr($table, ++$pos);
|
||||
}
|
||||
else {
|
||||
$db_info = Database::getConnectionInfo();
|
||||
$info['database'] = $db_info[$this->connection->getTarget()]['database'];
|
||||
$info['database'] = $this->connection->getConnectionOptions()['database'];
|
||||
$info['table'] = $table;
|
||||
}
|
||||
return $info;
|
||||
|
|
Loading…
Reference in New Issue