Correctly drop the ownCloud migrations table
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
6e95bd7a51
commit
0d37d24b4b
|
@ -129,7 +129,7 @@ class MigrationService {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Drop the table, when it didn't match our expectations.
|
// Drop the table, when it didn't match our expectations.
|
||||||
$this->connection->dropTable($this->connection->getPrefix() . 'migrations');
|
$this->connection->dropTable('migrations');
|
||||||
} catch (SchemaException $e) {
|
} catch (SchemaException $e) {
|
||||||
// Table not found, no need to panic, we will create it.
|
// Table not found, no need to panic, we will create it.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue