Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

361 B
Raw Blame
-- Existing topic_folders remain readonly; only explicit markers grant additional writes.
CREATE TABLE IF NOT EXISTS topic_writable_folders (
  conversation_id TEXT NOT NULL,
  folder_id TEXT NOT NULL,
  PRIMARY KEY(conversation_id, folder_id),
  FOREIGN KEY(conversation_id, folder_id) REFERENCES topic_folders(conversation_id, folder_id) ON DELETE CASCADE
);