From: Claudio Cambra Date: Thu, 26 Jan 2023 22:08:16 +0000 (+0100) Subject: Correctly register object schemas in Realm database X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~55^2~254 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e7e985f35511e62722cd85d4eaf4353216c02fad;p=nextcloud-desktop.git Correctly register object schemas in Realm database Signed-off-by: Claudio Cambra --- diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/NextcloudFilesDatabaseManager.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/NextcloudFilesDatabaseManager.swift index dbc9870dc..438847050 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/NextcloudFilesDatabaseManager.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/NextcloudFilesDatabaseManager.swift @@ -51,7 +51,7 @@ class NextcloudFilesDatabaseManager : NSObject { let config = Realm.Configuration( fileURL: self.databasePath, schemaVersion: self.schemaVersion, - objectTypes: [NextcloudItemMetadataTable.self] + objectTypes: [NextcloudItemMetadataTable.self, NextcloudDirectoryMetadataTable.self, NextcloudLocalFileMetadataTable.self] ) Realm.Configuration.defaultConfiguration = config