summaryrefslogtreecommitdiffstats
path: root/lib/private/DB
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-12-09 10:10:51 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-09 15:24:03 +0100
commit36ffad5ba7e62783f3fb4073a6eedf1c0ca645b9 (patch)
tree95228aad6a0243c00f7703eaabbc8b4757467600 /lib/private/DB
parent0befe071275c8f0f7599a883862884684e19b43a (diff)
downloadnextcloud-server-36ffad5ba7e62783f3fb4073a6eedf1c0ca645b9.tar.gz
nextcloud-server-36ffad5ba7e62783f3fb4073a6eedf1c0ca645b9.zip
Make sure the migrations table schema is always checked
Signed-off-by: Julius Härtl <jus@bitgrid.net> Revert "Make sure the migrations table schema is always checked" This reverts commit 258955ef738a52d9da2ac2fe59466e6093d7e9bc. Set current vendor during upgrade and perform migrations table change if needed Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/DB')
-rw-r--r--lib/private/DB/MigrationService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/MigrationService.php b/lib/private/DB/MigrationService.php
index 27e03318d6b..c1a6b82dccd 100644
--- a/lib/private/DB/MigrationService.php
+++ b/lib/private/DB/MigrationService.php
@@ -125,7 +125,7 @@ class MigrationService {
return false;
}
- if ($this->connection->tableExists('migrations')) {
+ if ($this->connection->tableExists('migrations') && \OC::$server->getConfig()->getAppValue('core', 'vendor', '') !== 'owncloud') {
$this->migrationTableCreated = true;
return false;
}