Skip to content

Schema: browse

Part of the generated database reference.

browse_sessions

  • Domain: browse Β· Feature gate: #[cfg(feature = "browse")] Β· Migration: 6.5.89-browser-tasks
  • Rust source: botschema/src/browse.rs
Column SQL type Null Default Key References
id UUID no gen_random_uuid() PK β€”
user_id UUID no β€” β€” β€”
task_id UUID yes β€” β€” β€”
started_at TIMESTAMPTZ no NOW() β€” β€”
ended_at TIMESTAMPTZ yes β€” β€” β€”
summary TEXT yes β€” β€” β€”

browser_tasks

  • Domain: browse Β· Feature gate: #[cfg(feature = "browse")] Β· Migration: 6.5.89-browser-tasks
  • Rust source: botschema/src/browse.rs
Column SQL type Null Default Key References
id UUID no gen_random_uuid() PK β€”
user_id UUID no β€” β€” β€”
org_id UUID yes β€” β€” β€”
bot_id UUID yes β€” β€” β€”
goal TEXT no β€” β€” β€”
domains JSONB no '[]'::jsonb β€” β€”
budget_steps INTEGER no 60 β€” β€”
status VARCHAR(24) no 'queued' β€” β€”
plan JSONB yes β€” β€” β€”
progress JSONB yes β€” β€” β€”
result JSONB yes β€” β€” β€”
citations JSONB yes β€” β€” β€”
error TEXT yes β€” β€” β€”
started_at TIMESTAMPTZ yes β€” β€” β€”
finished_at TIMESTAMPTZ yes β€” β€” β€”
created_at TIMESTAMPTZ no NOW() β€” β€”

page_facts

  • Domain: browse Β· Feature gate: #[cfg(feature = "browse")] Β· Migration: 6.5.89-browser-tasks
  • Rust source: botschema/src/browse.rs
Column SQL type Null Default Key References
id UUID no gen_random_uuid() PK β€”
user_id UUID no β€” β€” β€”
url TEXT no β€” β€” β€”
title TEXT yes β€” β€” β€”
facts JSONB no '{}'::jsonb β€” β€”
visit_count INTEGER no 1 β€” β€”
last_seen TIMESTAMPTZ no NOW() β€” β€”
created_at TIMESTAMPTZ no NOW() β€” β€”