marinofaggiana 4 жил өмнө
parent
commit
c55381c88f

+ 1 - 0
iOSClient/Data/NCManageDatabase.swift

@@ -127,6 +127,7 @@ class NCManageDatabase: NSObject {
                     if oldSchemaVersion < 162 {
                         migration.enumerateObjects(ofType: tableAccount.className()) { oldObject, newObject in
                             newObject!["userId"] = oldObject!["userID"]
+                            migration.deleteData(forType: tableMetadata.className())
                         }
                     }