Use supplied tablename

remotes/origin/stable6
Bart Visscher 2013-05-03 16:02:53 +07:00
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);
}