mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
soft-deleting note will delete its content and all the revisions content, fixes #132
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
UPDATE notes SET content = '' WHERE isDeleted = 1;
|
||||
UPDATE note_revisions SET content = '' WHERE (SELECT isDeleted FROM notes WHERE noteId = note_revisions.noteId) = 1;
|
||||
Reference in New Issue
Block a user