trilium/migrations/0010__add_is_deleted_to_notes_tree.sql
2017-10-24 22:58:59 -04:00

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`
);