always autofix note_contents.content = NULL sync issue after note erasion

This commit is contained in:
zadam
2020-02-19 19:51:36 +01:00
parent 4ce4ac9584
commit ad7a55d305
4 changed files with 36 additions and 27 deletions

View File

@@ -599,6 +599,7 @@ async function eraseDeletedNotes() {
UPDATE notes
SET title = '[deleted]',
contentLength = 0,
isProtected = 0,
isErased = 1
WHERE noteId IN (???)`, noteIdsToErase);