diff --git a/app/schema/chat.ts b/app/schema/chat.ts index 798b447..47cfc5b 100644 --- a/app/schema/chat.ts +++ b/app/schema/chat.ts @@ -41,7 +41,7 @@ export const chatRelations = relations(chat, ({ many, one }) => ({ diff: many(diff), })); -export const sectionRelations = relations(chat, ({ many }) => ({ +export const sectionRelations = relations(section, ({ many }) => ({ chat: many(chat), // diff: many(diff), }));