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

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'iOSClient/Data/NCManageDatabase.swift')
-rw-r--r--iOSClient/Data/NCManageDatabase.swift3
1 files changed, 2 insertions, 1 deletions
diff --git a/iOSClient/Data/NCManageDatabase.swift b/iOSClient/Data/NCManageDatabase.swift
index 086539348..e57458eba 100644
--- a/iOSClient/Data/NCManageDatabase.swift
+++ b/iOSClient/Data/NCManageDatabase.swift
@@ -86,11 +86,12 @@ class NCManageDatabase: NSObject {
migrationBlock: { migration, oldSchemaVersion in
- if oldSchemaVersion < 254 {
+ if oldSchemaVersion < 255 {
migration.deleteData(forType: tableActivity.className())
migration.deleteData(forType: tableActivityLatestId.className())
migration.deleteData(forType: tableActivityPreview.className())
migration.deleteData(forType: tableActivitySubjectRich.className())
+ migration.deleteData(forType: tableDirectory.className())
migration.deleteData(forType: tableMetadata.className())
}