From c0492be3ef8d8c8695a6adc69e3c7a04a9a18532 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Thu, 16 Jul 2026 18:09:56 +0530 Subject: [PATCH] feat(zero): mirror thread title/visibility/createdById in schema --- surfsense_web/zero/schema/chat.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/surfsense_web/zero/schema/chat.ts b/surfsense_web/zero/schema/chat.ts index d42a11848..81673feaa 100644 --- a/surfsense_web/zero/schema/chat.ts +++ b/surfsense_web/zero/schema/chat.ts @@ -24,6 +24,9 @@ export const newChatThreadTable = table("new_chat_threads") .columns({ id: number(), workspaceId: number().from("workspace_id"), + title: string(), + visibility: string(), + createdById: string().optional().from("created_by_id"), }) .primaryKey("id");