marinofaggiana 5 жил өмнө
parent
commit
e27b2fe06d

+ 1 - 1
iOSClient/Database/NCManageDatabase.swift

@@ -48,7 +48,7 @@ class NCManageDatabase: NSObject {
                     migration.deleteData(forType: tableDirectory.className())
                 }
                 
-                if oldSchemaVersion < 64 {
+                if oldSchemaVersion < 54 {
                     migration.enumerateObjects(ofType: tableMetadata.className()) { oldObject, newObject in
                         newObject!["primaryKey"] = (oldObject!["account"] as! String) + (oldObject!["fileID"] as! String)
                     }