trilium/db/migrations/0012__create_index_on_notes_history.sql

5 lines
131 B
MySQL
Raw Normal View History

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