Add `generateChangeScript()` back

This commit is contained in:
Robin Appelman 2014-05-26 15:59:02 +02:00
parent 397a763c49
commit 3be2643168
1 changed files with 9 additions and 0 deletions

View File

@ -95,6 +95,15 @@ class MDB2SchemaManager {
}
}
/**
* @param \Doctrine\DBAL\Schema\Schema $schema
* @return string
*/
public function generateChangeScript($schema) {
$migrator = $this->getMigrator();
return $migrator->generateChangeScript($schema);
}
/**
* remove all tables defined in a database structure xml file
*