mirror of
https://github.com/zadam/trilium.git
synced 2025-01-07 15:49:01 +08:00
2 lines
No EOL
167 B
SQL
2 lines
No EOL
167 B
SQL
UPDATE notes SET content = '' WHERE isDeleted = 1;
|
|
UPDATE note_revisions SET content = '' WHERE (SELECT isDeleted FROM notes WHERE noteId = note_revisions.noteId) = 1; |