mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 09:12:08 +08:00
7 lines
No EOL
205 B
SQL
7 lines
No EOL
205 B
SQL
ALTER TABLE notes_history ADD COLUMN note_history_id TEXT;
|
|
|
|
UPDATE notes_history SET note_history_id = id;
|
|
|
|
CREATE UNIQUE INDEX `IDX_note_history_note_history_id` ON `notes_history` (
|
|
`note_history_id`
|
|
); |