trilium/db/migrations/0010__add_is_deleted_to_notes_tree.sql

5 lines
149 B
MySQL
Raw Normal View History

2017-10-25 10:58:59 +08:00
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`
);