mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Use supplied tablename
This commit is contained in:
parent
bc9792910a
commit
d89e748926
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ class OC_DB_Schema {
|
|||
$sm = $conn->getSchemaManager();
|
||||
$fromSchema = $sm->createSchema();
|
||||
$toSchema = clone $fromSchema;
|
||||
$toSchema->dropTable('user');
|
||||
$toSchema->dropTable($tableName);
|
||||
$sql = $fromSchema->getMigrateToSql($toSchema, $conn->getDatabasePlatform());
|
||||
$conn->execute($sql);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue