Add tags tree for notes.

This commit is contained in:
2025-07-06 21:18:19 +02:00
parent eca8dca5d2
commit be370708a7
5 changed files with 571 additions and 67 deletions

View File

@@ -0,0 +1,5 @@
-- Add folder column to notes table
ALTER TABLE note ADD COLUMN IF NOT EXISTS folder VARCHAR(100);
-- Create an index on folder for faster filtering
CREATE INDEX IF NOT EXISTS idx_note_folder ON note(folder) WHERE folder IS NOT NULL;