Tusho

Database Schema

Tusho currently uses two main tables:

scan_runs

Each crawl creates one row in scan_runs. That row records:

file_system_entries

Each discovered entry becomes one row in file_system_entries.

Important columns:

Why paths are stored as text

Storing paths as text makes search and web rendering simple. It also lets administrators inspect the catalog directly with ordinary SQLite queries.