fix(GRO-1241): remove duplicate staffReadAt + add count mock

- Remove duplicate staffReadAt column in conversations table schema
  (merge conflict artifact — TS1117 duplicate definition)
- Add count mock to conversations.test.ts mock @groombook/db export
  (PR switched from sql\`count(*)\` to Drizzle count() without updating mock)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-05-14 14:30:58 +00:00
committed by Flea Flicker [agent]
parent c4978be280
commit d60200f8a7
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -466,7 +466,6 @@ export const conversations = pgTable(
staffReadAt: timestamp("staff_read_at"),
createdAt: timestamp("created_at").notNull().defaultNow(),
updatedAt: timestamp("updated_at").notNull().defaultNow(),
staffReadAt: timestamp("staff_read_at"),
},
(t) => [
index("idx_conversations_business_id_last_message_at").on(