trilium/db/migrations/0051__note_id_index_on_notes_tree.sql

5 lines
111 B
SQL

DROP index IDX_notes_tree_note_tree_id;
CREATE INDEX `IDX_notes_tree_note_id` ON `notes_tree` (
`note_id`
);