diff options
-rw-r--r-- | lib/private/Installer.php | 4 | ||||
-rw-r--r-- | lib/private/Setup/AbstractDatabase.php | 2 |
2 files changed, 3 insertions, 3 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 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); } } |