refactor(prisma): rename Template field to templates in Problem model

This commit is contained in:
cfngc4594 2025-03-08 22:21:14 +08:00
parent 2ffb366c7c
commit 3863d63dee

View File

@ -36,7 +36,7 @@ model Problem {
published Boolean @default(false) published Boolean @default(false)
authorId Int authorId Int
author User @relation(fields: [authorId], references: [id]) author User @relation(fields: [authorId], references: [id])
Template Template[] templates Template[]
} }
enum EditorLanguage { enum EditorLanguage {