CREATE TABLE IF NOT EXISTS transcode_settings ( id INTEGER PRIMARY KEY CHECK (id = 1), cleanup_ttl_hours INTEGER NOT NULL DEFAULT 24 ); INSERT OR IGNORE INTO transcode_settings (id, cleanup_ttl_hours) VALUES (1, 24);