diff options
Diffstat (limited to 'core/command/db/generatechangescript.php')
-rw-r--r-- | core/command/db/generatechangescript.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command/db/generatechangescript.php b/core/command/db/generatechangescript.php index 956921206f9..c94a6a9b0e4 100644 --- a/core/command/db/generatechangescript.php +++ b/core/command/db/generatechangescript.php @@ -45,7 +45,7 @@ class GenerateChangeScript extends Command { $file = $input->getArgument('schema-xml'); - $schemaManager = new \OC\DB\MDB2SchemaManager(\OC_DB::getConnection()); + $schemaManager = new \OC\DB\MDB2SchemaManager(\OC::$server->getDatabaseConnection()); try { $result = $schemaManager->updateDbFromStructure($file, true); |