dirty scan speed testing

This commit is contained in:
thePR0M3TH3AN
2025-05-18 23:53:50 -04:00
parent e9b9606c9a
commit 7b596ab17a
12 changed files with 234 additions and 24 deletions

View File

@@ -0,0 +1,8 @@
PRAGMA foreign_keys = ON;
PRAGMA journal_mode = WAL;
-- Track which files need re-indexing
CREATE TABLE IF NOT EXISTS file_changes (
file_id INTEGER PRIMARY KEY REFERENCES files(id) ON DELETE CASCADE,
marked_at INTEGER NOT NULL -- UNIX timestamp
);