Correctly drop the ownCloud migrations table

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/7912/head
Joas Schilling 8 years ago
parent 6e95bd7a51
commit 0d37d24b4b
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 2
      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.
}

Loading…
Cancel
Save