From 1068b6e057c7b1644f51cb2c6b852c5f8a21c064 Mon Sep 17 00:00:00 2001 From: Sonny Date: Fri, 12 Apr 2024 00:02:34 +0200 Subject: [PATCH] fix: link description type in prisma schema --- prisma/schema.prisma | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 93a323f..b61b57a 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -46,10 +46,10 @@ model Category { } model Link { - id Int @id @default(autoincrement()) - name String @db.VarChar(255) - description String @db.VarChar(255) - url String @db.Text + id Int @id @default(autoincrement()) + name String @db.VarChar(255) + description String? @db.VarChar(255) + url String @db.Text category Category @relation(fields: [categoryId], references: [id]) categoryId Int