MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _chat_session_row

Function _chat_session_row

skills/storage-helper/scripts/db_ops.py:278–286  ·  view source on GitHub ↗
(row: sqlite3.Row)

Source from the content-addressed store, hash-verified

276
277 # Create behavior_logs table
278 cursor.execute("""
279 CREATE TABLE IF NOT EXISTS behavior_logs (
280 id INTEGER PRIMARY KEY AUTOINCREMENT,
281 user_id TEXT NOT NULL,
282 push_id TEXT NOT NULL,
283 paper_id INTEGER,
284 action TEXT NOT NULL,
285 action_type TEXT NOT NULL,
286 category TEXT,
287 timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
288 metadata TEXT,
289 FOREIGN KEY (paper_id) REFERENCES papers(id)

Callers 3

create_chat_sessionFunction · 0.85
list_chat_sessionsFunction · 0.85
get_chat_sessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected