oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1CREATE TABLE chat_research_addresses (runner_id text, source text, address text, seen_at datetime, PRIMARY KEY (runner_id, source, address));
2CREATE TABLE chat_research_prefixes (runner_id text, prefix text, confirmed_by text, confirmed_at datetime, card_id text, PRIMARY KEY (runner_id, prefix));
3CREATE TABLE chat_research_inventory (card_id text PRIMARY KEY, runner_id text, addresses text, created_at datetime, updated_at datetime);
4CREATE INDEX chat_research_inventory_runner ON chat_research_inventory(runner_id);
5CREATE TABLE chat_research (step_id text, attempt integer, task_id text, revision integer, findings text, created_at datetime, PRIMARY KEY (step_id, attempt));
6CREATE INDEX chat_research_task ON chat_research(task_id);
7CREATE TABLE chat_research_fetches (step_id text, attempt integer, idx integer, task_id text, source_id text, origin text, parent text, url text, hops text, address text, status integer, type text, bytes integer, sha256 text, millis integer, reason text, PRIMARY KEY (step_id, attempt, idx));
8CREATE TABLE chat_task_files (id text PRIMARY KEY, task_id text, step_id text, attempt integer, runner_id text, image_id text, source_id text, role text, description text, media_type text, size integer, sha256 text, total integer, received integer, bytes integer, width integer, height integer, complete numeric, kept numeric, created_at datetime, updated_at datetime);
9CREATE INDEX chat_task_file_task ON chat_task_files(task_id);
10CREATE INDEX chat_task_file_step ON chat_task_files(step_id);
11CREATE TABLE chat_task_file_data (file_id text, idx integer, data blob, PRIMARY KEY (file_id, idx));
12