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>
This commit is contained in:
parent
0befe07127
commit
36ffad5ba7
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -197,6 +197,7 @@ class Updater extends BasicEmitter {
|
|||
isset($allowedPreviousVersions['owncloud'][$majorMinor])
|
||||
)) {
|
||||
$currentVendor = 'owncloud';
|
||||
$this->config->setAppValue('core', 'vendor', $currentVendor);
|
||||
}
|
||||
|
||||
if ($currentVendor === 'nextcloud') {
|
||||
|
|
Loading…
Reference in New Issue