diff --git a/DB/Sources/DB/Content/ContentDatabase.swift b/DB/Sources/DB/Content/ContentDatabase.swift index 14585c3..67ca5e7 100644 --- a/DB/Sources/DB/Content/ContentDatabase.swift +++ b/DB/Sources/DB/Content/ContentDatabase.swift @@ -572,6 +572,8 @@ private extension ContentDatabase { let notificationStatusIds: [Status.Id] try ConversationRecord.deleteAll($0) + try StatusAncestorJoin.deleteAll($0) + try StatusDescendantJoin.deleteAll($0) if useNotificationsLastReadId { var notificationIds = try MastodonNotification.Id.fetchAll(