trilium/db/migrations/0012__create_index_on_notes_history.sql

5 lines
No EOL
131 B
SQL

CREATE UNIQUE INDEX `IDX_notes_history_note_from_to` ON `notes_history` (
`note_id`,
`date_modified_from`,
`date_modified_to`
);