summaryrefslogtreecommitdiffstats
path: root/lib/private/DB/MigrationService.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-17 12:17:41 +0100
committerJoas Schilling <coding@schilljs.com>2018-01-17 12:17:41 +0100
commit0d37d24b4bce783320d3a098457b2aa92664c6ab (patch)
tree64c7a951dfe90ffebb3e8637e3764e72a78b8158 /lib/private/DB/MigrationService.php
parent6e95bd7a518f587836124e7cb3a3762fb4a62e8c (diff)
downloadnextcloud-server-0d37d24b4bce783320d3a098457b2aa92664c6ab.tar.gz
nextcloud-server-0d37d24b4bce783320d3a098457b2aa92664c6ab.zip
Correctly drop the ownCloud migrations table
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/DB/MigrationService.php')
-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 cbe5bd9b957..0c881f28ecb 100644
--- a/lib/private/DB/MigrationService.php
+++ b/lib/private/DB/MigrationService.php
@@ -129,7 +129,7 @@ class MigrationService {
}
// Drop the table, when it didn't match our expectations.
- $this->connection->dropTable($this->connection->getPrefix() . 'migrations');
+ $this->connection->dropTable('migrations');
} catch (SchemaException $e) {
// Table not found, no need to panic, we will create it.
}