mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
2 lines
167 B
MySQL
2 lines
167 B
MySQL
|
|
UPDATE notes SET content = '' WHERE isDeleted = 1;
|
||
|
|
UPDATE note_revisions SET content = '' WHERE (SELECT isDeleted FROM notes WHERE noteId = note_revisions.noteId) = 1;
|