marinofaggiana 4 년 전
부모
커밋
9740ce7645
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      iOSClient/Database/NCManageDatabase.swift

+ 1 - 1
iOSClient/Database/NCManageDatabase.swift

@@ -101,7 +101,6 @@ class NCManageDatabase: NSObject {
                     
                     if oldSchemaVersion < 95 {
                         migration.deleteData(forType: tableE2eEncryptionLock.className())
-                        migration.deleteData(forType: tableDirectory.className())
                     }
                     
                     if oldSchemaVersion < 104 {
@@ -115,6 +114,7 @@ class NCManageDatabase: NSObject {
                     if oldSchemaVersion < 110 {
                         migration.deleteData(forType: tableMetadata.className())
                         migration.deleteData(forType: tableMedia.className())
+                        migration.deleteData(forType: tableDirectory.className())
                     }
                     
                 }, shouldCompactOnLaunch: { totalBytes, usedBytes in