mirror of https://github.com/TriliumNext/Notes
note_id - parent_note_id index needs to be unique
parent
361d8a4216
commit
53ee1fa5ed
@ -0,0 +1,6 @@
|
||||
DROP INDEX IDX_notes_tree_note_id_parent_note_id;
|
||||
|
||||
CREATE UNIQUE INDEX `IDX_notes_tree_note_id_parent_note_id` ON `notes_tree` (
|
||||
`note_id`,
|
||||
`parent_note_id`
|
||||
);
|
||||
Loading…
Reference in New Issue