1
1
Fork 0
mirror of https://github.com/zadam/trilium.git synced 2025-02-19 20:44:03 +08:00
trilium/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`
);