diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-06-03 17:31:24 +0300 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-06-03 17:31:24 +0300 |
commit | 4b2b5570a16399d87a8c3ee6aabf2a3bd4849f91 (patch) | |
tree | e0f2b6e73743b6d5575ae1339f506cf1208d7cd0 /lib/Migration | |
parent | 5d77249658226d87b3e6ed27e168b90fc12c50d2 (diff) |
ISchemaWrapper.getDatabasePlatform requires Nextcloud 22.2.4
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version1130Date20220412111833.php | 2 |
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'); |