Don't drop the table anymore when we create it again

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-11-16 19:34:38 +01:00
parent d7b5d4cb58
commit 9a3ce2f71f
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}