aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Setup/AbstractDatabase.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-10 21:26:41 +0100
committerJoas Schilling <coding@schilljs.com>2020-11-11 11:40:51 +0100
commit7f45f907893368ef5cc1b3d87c2151d4b8d304ce (patch)
tree84c845dc86aa9d407322fe90652025884096f7dc /lib/private/Setup/AbstractDatabase.php
parent61496d3482bd4797c54a0655834916b1e0d667b1 (diff)
downloadnextcloud-server-7f45f907893368ef5cc1b3d87c2151d4b8d304ce.tar.gz
nextcloud-server-7f45f907893368ef5cc1b3d87c2151d4b8d304ce.zip
Only update the schema when we install anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Setup/AbstractDatabase.php')
-rw-r--r--lib/private/Setup/AbstractDatabase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup/AbstractDatabase.php b/lib/private/Setup/AbstractDatabase.php
index 98d6b84ab9c..8a9aed09f1b 100644
--- a/lib/private/Setup/AbstractDatabase.php
+++ b/lib/private/Setup/AbstractDatabase.php
@@ -150,6 +150,6 @@ abstract class AbstractDatabase {
return;
}
$ms = new MigrationService('core', \OC::$server->getDatabaseConnection());
- $ms->migrate();
+ $ms->migrate('latest', true);
}
}