mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
not unique key between parent_note_id and note_id in schema
This commit is contained in:
parent
07c33979c3
commit
244a4562b1
@ -67,7 +67,7 @@ CREATE INDEX `IDX_sync_sync_date` ON `sync` (
|
|||||||
CREATE INDEX `IDX_notes_is_deleted` ON `notes` (
|
CREATE INDEX `IDX_notes_is_deleted` ON `notes` (
|
||||||
`is_deleted`
|
`is_deleted`
|
||||||
);
|
);
|
||||||
CREATE UNIQUE INDEX `IDX_notes_tree_note_id_parent_note_id` ON `notes_tree` (
|
CREATE INDEX `IDX_notes_tree_note_id_parent_note_id` ON `notes_tree` (
|
||||||
`note_id`,
|
`note_id`,
|
||||||
`parent_note_id`
|
`parent_note_id`
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user