mirror of https://github.com/TriliumNext/Notes
trim note_ids to 22 characters (there was a bug in nodejs backend which generated 32 character noteids)
parent
a2f0a372a5
commit
a76e82e9a2
@ -0,0 +1,6 @@
|
||||
UPDATE notes SET note_id = substr(note_id, 0, 22);
|
||||
UPDATE notes_tree SET note_id = substr(note_id, 0, 22), note_pid = substr(note_pid, 0, 22);
|
||||
UPDATE notes_history SET note_id = substr(note_id, 0, 22);
|
||||
UPDATE audit_log SET note_id = substr(note_id, 0, 22);
|
||||
UPDATE links SET note_id = substr(note_id, 0, 22);
|
||||
UPDATE images SET note_id = substr(note_id, 0, 22);
|
||||
Loading…
Reference in New Issue