diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-04 16:40:53 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-04 17:16:44 +0200 |
commit | 5b97369b00afbdf55eed145be9ac981dca06d2a9 (patch) | |
tree | 7dbbacea3c7a7253bc37a81d4d9636d320769cd5 /core/command | |
parent | 5adb8f0a8a94b955fd031f8d8226e0cbffbfabb1 (diff) | |
download | nextcloud-server-5b97369b00afbdf55eed145be9ac981dca06d2a9.tar.gz nextcloud-server-5b97369b00afbdf55eed145be9ac981dca06d2a9.zip |
Simulate apps database schema update on upgrade
When upgrade, also simulate the database schema update for apps before
doing the actual upgrade.
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/upgrade.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/command/upgrade.php b/core/command/upgrade.php index 8ce8ef9b6e5..c3946d2aab5 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -56,6 +56,9 @@ class Upgrade extends Command { $updater->listen('\OC\Updater', 'dbUpgrade', function () use($output) { $output->writeln('<info>Updated database</info>'); }); + $updater->listen('\OC\Updater', 'dbSimulateUpgrade', function () use($output) { + $output->writeln('<info>Checked database schema update</info>'); + }); $updater->listen('\OC\Updater', 'disabledApps', function ($appList) use($output) { $output->writeln('<info>Disabled incompatible apps: ' . implode(', ', $appList) . '</info>'); }); |