diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-26 15:59:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-03 11:19:58 +0200 |
commit | 3be2643168a47813718d24232ee25e9b8f264b7a (patch) | |
tree | 30c707e14d139ef8ff982e81d090cf9e05d7b770 /lib/private/db | |
parent | 397a763c49ea8b9585405e711f92969191c0c613 (diff) | |
download | nextcloud-server-3be2643168a47813718d24232ee25e9b8f264b7a.tar.gz nextcloud-server-3be2643168a47813718d24232ee25e9b8f264b7a.zip |
Add `generateChangeScript()` back
Diffstat (limited to 'lib/private/db')
-rw-r--r-- | lib/private/db/mdb2schemamanager.php | 9 |
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 |