Commit c64dd837 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix refactoring

parent 52ebcc5e
...@@ -163,12 +163,15 @@ class CreateSchemaSqlCollector implements Visitor ...@@ -163,12 +163,15 @@ class CreateSchemaSqlCollector implements Visitor
if ($this->_platform->supportsSchemas()) { if ($this->_platform->supportsSchemas()) {
// TODO: Create Schema here // TODO: Create Schema here
} }
$sql = array_merge( }
$sql, foreach ($this->_createTableQueries as $schemaSql) {
$this->_createTableQueries[$namespace], $sql = array_merge($sql, $schemaSql);
$this->_createSequenceQueries[$namespace], }
$this->_createFkConstraintQueries[$namespace] foreach ($this->_createSequenceQueries as $schemaSql) {
); $sql = array_merge($sql, $schemaSql);
}
foreach ($this->_createFkConstraintQueries as $schemaSql) {
$sql = array_merge($sql, $schemaSql);
} }
return $sql; 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