Commit 72316541 authored by guilhermeblanco's avatar guilhermeblanco

Merged r3561 into 0.10

parent 6fda95bf
...@@ -1076,10 +1076,11 @@ class Doctrine_Export extends Doctrine_Connection_Module ...@@ -1076,10 +1076,11 @@ class Doctrine_Export extends Doctrine_Connection_Module
$connectionName = Doctrine_Manager::getInstance()->getConnectionName($connection); $connectionName = Doctrine_Manager::getInstance()->getConnectionName($connection);
if ( ! isset($connections[$connectionName])) { if ( ! isset($connections[$connectionName])) {
$connections[$connectionName] = array(); $connections[$connectionName] = array(
$connections[$connectionName]['create_tables'] = array(); 'create_tables' => array(),
$connections[$connectionName]['create_sequences'] = array(); 'create_sequences' => array(),
$connections[$connectionName]['alters'] = array(); 'alters' => array()
);
} }
$sql = $this->exportClassesSql(array($class)); $sql = $this->exportClassesSql(array($class));
......
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