summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-24 16:14:05 +0200
committerGitHub <noreply@github.com>2018-07-24 16:14:05 +0200
commit7da815bb0403ebb072866b61779a84835b9a74b8 (patch)
tree12936604c35b366ae894327193054d9b03f04618 /core/Command
parentd67e18b28e35ce395fafa5f37f19f50965fc7dd5 (diff)
parent891de38080f27011cb050301c7948b52e3141470 (diff)
downloadnextcloud-server-7da815bb0403ebb072866b61779a84835b9a74b8.tar.gz
nextcloud-server-7da815bb0403ebb072866b61779a84835b9a74b8.zip
Merge pull request #10298 from nextcloud/bugfix/talk-714/only-migrate-the-schema-when-moving-database
Only create the schema when moving between databases
Diffstat (limited to 'core/Command')
-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);
}
}
}