Commit 3f407e5d authored by runa's avatar runa

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

parent 286dfdeb
...@@ -148,7 +148,11 @@ class Doctrine_Import_Builder { ...@@ -148,7 +148,11 @@ class Doctrine_Import_Builder {
* @throws Doctrine_Import_Exception * @throws Doctrine_Import_Exception
*/ */
public function build(Doctrine_Schema_Object $schema) { public function build(Doctrine_Schema_Object $schema) {
foreach($schema->getDatabases() as $database){
foreach($database->getTables() as $table){
$this->buildRecord($table);
}
}
} }
} }
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