diff --git a/packages/db/src/schema.ts b/packages/db/src/schema.ts index de0ab29..3a12d96 100644 --- a/packages/db/src/schema.ts +++ b/packages/db/src/schema.ts @@ -11,6 +11,7 @@ import { unique, uuid, } from "drizzle-orm/pg-core"; +import type { MedicalAlert } from "@groombook/types"; // ─── Enums ──────────────────────────────────────────────────────────────────── @@ -164,6 +165,10 @@ export const pets = pgTable( specialCareNotes: text("special_care_notes"), coatType: coatTypeEnum("coat_type"), petSizeCategory: petSizeCategoryEnum("pet_size_category"), + temperamentScore: integer("temperament_score"), + temperamentFlags: jsonb("temperament_flags").$type().default([]), + medicalAlerts: jsonb("medical_alerts").$type().default([]), + preferredCuts: jsonb("preferred_cuts").$type().default([]), customFields: jsonb("custom_fields").$type>().notNull().default({}), photoKey: text("photo_key"), photoUploadedAt: timestamp("photo_uploaded_at"),