mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 05:42:39 +02:00
Add chat_comments table to PGlite schema and thread_id to types
This commit is contained in:
parent
ac7d84571d
commit
4b57ba9d2b
2 changed files with 19 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import { z } from "zod";
|
|||
export const rawComment = z.object({
|
||||
id: z.number(),
|
||||
message_id: z.number(),
|
||||
thread_id: z.number(), // Denormalized for efficient Electric subscriptions
|
||||
parent_id: z.number().nullable(),
|
||||
author_id: z.string().nullable(),
|
||||
content: z.string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue