From 8c207b53a60bee7a98fce45351aa6f3cc27cbd24 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Sat, 16 Jan 2021 00:41:52 -0800 Subject: [PATCH] Remove join records between launches --- DB/Sources/DB/Content/ContentDatabase.swift | 2 ++ 1 file changed, 2 insertions(+) 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(