Add tags tree for notes.
This commit is contained in:
5
migrations/add_folder_to_notes.sql
Normal file
5
migrations/add_folder_to_notes.sql
Normal 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;
|
||||
Reference in New Issue
Block a user