Browse Source

add table for clean

Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
marinofaggiana 3 năm trước cách đây
mục cha
commit
971614153f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)