adds build function to export all databases in the passed $schema
This commit is contained in:
parent
286dfdebad
commit
3f407e5d57
1 changed files with 5 additions and 1 deletions
|
@ -148,7 +148,11 @@ class Doctrine_Import_Builder {
|
|||
* @throws Doctrine_Import_Exception
|
||||
*/
|
||||
public function build(Doctrine_Schema_Object $schema) {
|
||||
|
||||
foreach($schema->getDatabases() as $database){
|
||||
foreach($database->getTables() as $table){
|
||||
$this->buildRecord($table);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue