1
0
mirror of synced 2024-12-14 07:06:04 +03:00

adds build function to export all databases in the passed $schema

This commit is contained in:
runa 2006-10-31 18:37:04 +00:00
parent 286dfdebad
commit 3f407e5d57

View File

@ -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);
}
}
}
}