1
0
mirror of synced 2025-02-20 22:23:14 +03:00

#881 DDC-2825 - correcting YAML driver implementation (wasn't using extracted schema)

This commit is contained in:
Marco Pivetta 2015-01-14 18:06:29 +01:00
parent 04467218a3
commit eefa3b2e53

View File

@ -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) {