diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-11-11 17:26:08 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-11-13 12:07:49 +0100 |
commit | 5f8fb8d1ee61e069adc7fcad6a3aad63f44bd1a6 (patch) | |
tree | dfec7d16bcaf055d15106e28fc0c99caef4a4a2a /apps | |
parent | 5ca869c3241d159b2bd2c45b79c49b085c277968 (diff) | |
download | nextcloud-server-5f8fb8d1ee61e069adc7fcad6a3aad63f44bd1a6.tar.gz nextcloud-server-5f8fb8d1ee61e069adc7fcad6a3aad63f44bd1a6.zip |
Run preupdate before an update
The update routine tries to test the database migration before actually performing the update.
However, this will fail hard if the schema has changed (for example an unique key has been added). App developers can convert the DB in preupdate.php, however it is not called before and therefore the update fails.
This actually breaks ownCloud updates from ownCloud 6 to ownCloud 7 when the files_antivirus app is enabled.
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions