Improve local filetree view state and sidebar performance
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE sidebar_shortcuts ADD COLUMN root_uri TEXT;
|
||||
|
||||
UPDATE sidebar_shortcuts
|
||||
SET root_uri = COALESCE(
|
||||
NULLIF(json_extract(metadata_json, '$.rootUri'), ''),
|
||||
NULLIF(json_extract(metadata_json, '$.root_uri'), '')
|
||||
)
|
||||
WHERE root_uri IS NULL OR root_uri = '';
|
||||
Reference in New Issue
Block a user