mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-06 21:09:50 -06:00
1 line
146 B
SQL
1 line
146 B
SQL
UPDATE notes SET contentLength = COALESCE((SELECT COALESCE(LENGTH(content), 0) FROM note_contents WHERE note_contents.noteId = notes.noteId), -1); |