Browse Source

clear old schema DB

marinofaggiana 5 years ago
parent
commit
94eb41d25b
1 changed files with 0 additions and 6 deletions
  1. 0 6
      iOSClient/Database/NCManageDatabase.swift

+ 0 - 6
iOSClient/Database/NCManageDatabase.swift

@@ -82,12 +82,6 @@ class NCManageDatabase: NSObject {
                     migration.deleteData(forType: tableTrash.className())
                 }
                 
-                if oldSchemaVersion < 77 {
-                    migration.deleteData(forType: tableDirectory.className())
-                    migration.deleteData(forType: tableMetadata.className())
-                    migration.deleteData(forType: tableMedia.className())
-                }
-                
             }, shouldCompactOnLaunch: { totalBytes, usedBytes in
                 
                 // totalBytes refers to the size of the file on disk in bytes (data + free space)