mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
refactor(prisma): rename Template
field to templates
in Problem
model
This commit is contained in:
parent
2ffb366c7c
commit
3863d63dee
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user