From 7e6c2985dd817fd7c6393d8df9fd02826546cb3e Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sun, 26 Apr 2026 11:48:30 -0400 Subject: [PATCH] docs: fix Task 6 plan snippet: PRAGMA table_info name index is c[1] not c[0] --- docs/plans/2026-04-26-v1-phase1-implementation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plans/2026-04-26-v1-phase1-implementation.md b/docs/plans/2026-04-26-v1-phase1-implementation.md index 1a1ce16..0ad593d 100644 --- a/docs/plans/2026-04-26-v1-phase1-implementation.md +++ b/docs/plans/2026-04-26-v1-phase1-implementation.md @@ -884,7 +884,7 @@ def get_bot(conn: Connection, bot_id: str) -> dict | None: row = conn.execute("SELECT * FROM bots WHERE id = ?", (bot_id,)).fetchone() if not row: return None - cols = [c[0] for c in conn.execute("PRAGMA table_info(bots)").fetchall()] + cols = [c[1] for c in conn.execute("PRAGMA table_info(bots)").fetchall()] d = dict(zip(cols, row)) d["voice_samples"] = json.loads(d.pop("voice_samples_json")) d["traits"] = json.loads(d.pop("traits_json"))