Commit c64dd837 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix refactoring

parent 52ebcc5e
......@@ -163,12 +163,15 @@ class CreateSchemaSqlCollector implements Visitor
if ($this->_platform->supportsSchemas()) {
// TODO: Create Schema here
}
$sql = array_merge(
$sql,
$this->_createTableQueries[$namespace],
$this->_createSequenceQueries[$namespace],
$this->_createFkConstraintQueries[$namespace]
);
}
foreach ($this->_createTableQueries as $schemaSql) {
$sql = array_merge($sql, $schemaSql);
}
foreach ($this->_createSequenceQueries as $schemaSql) {
$sql = array_merge($sql, $schemaSql);
}
foreach ($this->_createFkConstraintQueries as $schemaSql) {
$sql = array_merge($sql, $schemaSql);
}
return $sql;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment