trilium/db/migrations/0010__add_is_deleted_to_notes_tree.sql

5 lines
No EOL
149 B
SQL

ALTER TABLE notes_tree ADD COLUMN is_deleted INTEGER NOT NULL DEFAULT 0;
CREATE INDEX `IDX_notes_tree_is_deleted` ON `notes_tree` (
`is_deleted`
);