summaryrefslogtreecommitdiffstats
path: root/lib/private/db/mdb2schemamanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/db/mdb2schemamanager.php')
-rw-r--r--lib/private/db/mdb2schemamanager.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/db/mdb2schemamanager.php b/lib/private/db/mdb2schemamanager.php
index d6e0e77b54e..533ed9110e7 100644
--- a/lib/private/db/mdb2schemamanager.php
+++ b/lib/private/db/mdb2schemamanager.php
@@ -96,6 +96,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
*
* @param string $file the xml file describing the tables