Explorar o código

add table for clean

Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
marinofaggiana %!s(int64=3) %!d(string=hai) anos
pai
achega
971614153f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      iOSClient/Data/NCManageDatabase.swift

+ 1 - 0
iOSClient/Data/NCManageDatabase.swift

@@ -215,6 +215,7 @@ class NCManageDatabase: NSObject {
     @objc func clearDatabase(account: String?, removeAccount: Bool) {
         
         self.clearTable(tableActivity.self, account: account)
+        self.clearTable(tableActivityLatestId.self, account: account)
         self.clearTable(tableActivityPreview.self, account: account)
         self.clearTable(tableActivitySubjectRich.self, account: account)
         self.clearTable(tableAvatar.self)