Files
markbase/data/users/momentry.sqlite
Warren 9b7b201230 fix: Copy demo.sqlite as template for warren and momentry databases
Problem:
- bin target not recognized by cargo
- Manual initialization failed repeatedly
- warren.sqlite and momentry.sqlite were 0 bytes
- API returned 'no such table: file_nodes' error

Solution:
- Copied demo.sqlite as template (has correct table structure)
- Cleared all data from file_nodes, file_registry, file_locations
- Both databases now have proper schema with 0 nodes

Result:
- warren.sqlite: 64KB (same size as demo, but empty)
- momentry.sqlite: 64KB (same size as demo, but empty)
- Tables: file_registry, file_nodes, file_locations 
- Nodes: 0 (empty trees)

Test result:
 demo/admin123 → {nodes: 50}
 warren/admin123 → {nodes: []} (empty tree, no error)
 momentry/admin123 → {nodes: []} (empty tree, no error)

Files:
- data/users/warren.sqlite (copied from demo.sqlite, data cleared)
- data/users/momentry.sqlite (copied from demo.sqlite, data cleared)
2026-05-17 00:58:56 +08:00

64 KiB