diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2021-09-22 19:51:58 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2021-09-22 19:51:58 +0300 |
commit | 77f6631196d3acdfbbf5160ca9c5772d873bd860 (patch) | |
tree | 6f7e37d64884e0bc88c64729e7f3291f64a3b420 /iOSClient/Data/NCManageDatabase.swift | |
parent | 5ed6dacf786c0ee1fc3526d18473b851b1ff069e (diff) |
coding
Diffstat (limited to 'iOSClient/Data/NCManageDatabase.swift')
-rw-r--r-- | iOSClient/Data/NCManageDatabase.swift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iOSClient/Data/NCManageDatabase.swift b/iOSClient/Data/NCManageDatabase.swift index 63386c875..b6d2756d1 100644 --- a/iOSClient/Data/NCManageDatabase.swift +++ b/iOSClient/Data/NCManageDatabase.swift @@ -116,13 +116,14 @@ class NCManageDatabase: NSObject { } } - if oldSchemaVersion < 207 { + if oldSchemaVersion < 209 { migration.deleteData(forType: tableDirectory.className()) migration.deleteData(forType: tableE2eEncryption.className()) migration.deleteData(forType: tableE2eEncryptionLock.className()) migration.deleteData(forType: tableMetadata.className()) migration.deleteData(forType: tableShare.className()) migration.deleteData(forType: tableTrash.className()) + migration.deleteData(forType: tableVideo.className()) // Delete OLD avatar image if var pathUrl = CCUtility.getDirectoryGroup() { pathUrl.appendPathComponent(NCGlobal.shared.appUserData) |