Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Migration/Version1130Date20220412111833.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Migration/Version1130Date20220412111833.php b/lib/Migration/Version1130Date20220412111833.php
index 10a8d7ba1..eeb72e673 100644
--- a/lib/Migration/Version1130Date20220412111833.php
+++ b/lib/Migration/Version1130Date20220412111833.php
@@ -119,7 +119,7 @@ class Version1130Date20220412111833 extends SimpleMigrationStep {
$schema = $schemaClosure();
// bigint and primary key with autoincrement is not possible on sqlite: https://github.com/nextcloud/server/commit/f57e334f8395e3b5c046b6d28480d798453e4866
- $isSqlite = $schema->getDatabasePlatform() instanceof SqlitePlatform;
+ $isSqlite = $this->connection->getDatabasePlatform() instanceof SqlitePlatform;
// Remove old unnamed attachments FK
$attachmentsTable = $schema->getTable('mail_attachments');