diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-05-03 16:02:53 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-05-03 16:02:53 +0200 |
commit | d89e748926f4ea901c0c17f0f7c3651548611b87 (patch) | |
tree | 9fbff764bfbdda683f10171cb74e490455b123cf | |
parent | bc9792910ae5d714daefd0840d702550b91bae41 (diff) | |
download | nextcloud-server-d89e748926f4ea901c0c17f0f7c3651548611b87.tar.gz nextcloud-server-d89e748926f4ea901c0c17f0f7c3651548611b87.zip |
Use supplied tablename
-rw-r--r-- | lib/db/schema.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db/schema.php b/lib/db/schema.php index 37379f60663..89ab2381615 100644 --- a/lib/db/schema.php +++ b/lib/db/schema.php @@ -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); } |