diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-16 19:34:38 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-16 19:34:38 +0100 |
commit | 9a3ce2f71fffc166cf9676ee9231eb167d8954a4 (patch) | |
tree | 8f25ae7382976165e7227378c55011e53eeff367 /lib/private/DB | |
parent | d7b5d4cb58f75e4598d3d537c743905c301d7952 (diff) | |
download | nextcloud-server-9a3ce2f71fffc166cf9676ee9231eb167d8954a4.tar.gz nextcloud-server-9a3ce2f71fffc166cf9676ee9231eb167d8954a4.zip |
Don't drop the table anymore when we create it again
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/DB')
-rw-r--r-- | lib/private/DB/SchemaWrapper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/DB/SchemaWrapper.php b/lib/private/DB/SchemaWrapper.php index e42535d64ab..440008d35b3 100644 --- a/lib/private/DB/SchemaWrapper.php +++ b/lib/private/DB/SchemaWrapper.php @@ -111,6 +111,7 @@ class SchemaWrapper implements ISchemaWrapper { * @return \Doctrine\DBAL\Schema\Table */ public function createTable($tableName) { + unset($this->tablesToDelete[$tableName]); return $this->schema->createTable($this->connection->getPrefix() . $tableName); } |