Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

remove customerAvatar max length

Steven Tey7acdf7339d19
diff --git a/apps/web/lib/zod/schemas/leads.ts b/apps/web/lib/zod/schemas/leads.ts
index 21c0c4a792..9544ba3955 100644
--- a/apps/web/lib/zod/schemas/leads.ts
+++ b/apps/web/lib/zod/schemas/leads.ts
@@ -52,7 +52,6 @@ export const trackLeadRequestSchema = z.object({
.describe("Email of the customer in the client's app."),
customerAvatar: z
.string()
- .max(100)
.nullish()
.default(null)
.describe("Avatar of the customer in the client's app."),
diff --git a/apps/web/prisma/schema/customer.prisma b/apps/web/prisma/schema/customer.prisma
index d6b15c2388..6e849886cd 100644
--- a/apps/web/prisma/schema/customer.prisma
+++ b/apps/web/prisma/schema/customer.prisma
@@ -2,7 +2,7 @@ model Customer {
id String @id @default(cuid())
name String?
email String?
- avatar String?
+ avatar String? @db.LongText
externalId String?
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
projectId String