diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-10 21:26:41 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-11 11:40:51 +0100 |
commit | 7f45f907893368ef5cc1b3d87c2151d4b8d304ce (patch) | |
tree | 84c845dc86aa9d407322fe90652025884096f7dc /lib/private/Installer.php | |
parent | 61496d3482bd4797c54a0655834916b1e0d667b1 (diff) | |
download | nextcloud-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/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 9388711697a..96f14933a76 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -154,7 +154,7 @@ class Installer { } } else { $ms = new \OC\DB\MigrationService($info['id'], \OC::$server->getDatabaseConnection()); - $ms->migrate(); + $ms->migrate('latest', true); } if ($previousVersion) { OC_App::executeRepairSteps($appId, $info['repair-steps']['post-migration']); @@ -589,7 +589,7 @@ class Installer { } } else { $ms = new \OC\DB\MigrationService($app, \OC::$server->getDatabaseConnection()); - $ms->migrate(); + $ms->migrate('latest', true); } //run appinfo/install.php |