#881 DDC-2825 - correcting YAML driver implementation (wasn't using extracted schema)
This commit is contained in:
parent
04467218a3
commit
eefa3b2e53
@ -83,12 +83,12 @@ class YamlDriver extends FileDriver
|
||||
|
||||
// Split schema and table name from a table name like "myschema.mytable"
|
||||
if (strpos($tableName, '.') !== false) {
|
||||
list($schemaName, $tableName) = explode('.', $tableName);
|
||||
list($table['schema'], $tableName) = explode('.', $tableName, 2);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($element['schema'])) {
|
||||
$schemaName = $element['schema'];
|
||||
$table['schema'] = $element['schema'];
|
||||
}
|
||||
|
||||
if (null !== $tableName) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user