summaryrefslogtreecommitdiffstats
path: root/core/Command/Db
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-19 15:32:36 +0200
committerJoas Schilling <coding@schilljs.com>2018-07-19 15:32:36 +0200
commit891de38080f27011cb050301c7948b52e3141470 (patch)
tree8d915861c0159f2cc0bbda87a8649f7c12c123c0 /core/Command/Db
parent596655fa1add88cc13eb8cf3a6e43950829d29be (diff)
downloadnextcloud-server-891de38080f27011cb050301c7948b52e3141470.tar.gz
nextcloud-server-891de38080f27011cb050301c7948b52e3141470.zip
Only create the schema when moving between databases
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command/Db')
-rw-r--r--core/Command/Db/ConvertType.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php
index 7fdf1f39b8e..b6c2c66b3d3 100644
--- a/core/Command/Db/ConvertType.php
+++ b/core/Command/Db/ConvertType.php
@@ -245,7 +245,7 @@ class ConvertType extends Command implements CompletionAwareInterface {
$currentMigration = $fromMS->getMigration('current');
if ($currentMigration !== '0') {
$toMS = new MigrationService($app, $toDB);
- $toMS->migrate($currentMigration);
+ $toMS->migrate($currentMigration, true);
}
}
}