mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
feat(prisma): add expectedOutput field to Testcase model
This commit is contained in:
parent
3f10c08a6c
commit
11fac9b3d6
@ -129,10 +129,11 @@ model JudgeResult {
|
|||||||
}
|
}
|
||||||
|
|
||||||
model Testcase {
|
model Testcase {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
problemId String
|
problemId String
|
||||||
problem Problem @relation(fields: [problemId], references: [id], onDelete: Cascade)
|
problem Problem @relation(fields: [problemId], references: [id], onDelete: Cascade)
|
||||||
data TestcaseData[]
|
data TestcaseData[]
|
||||||
|
expectedOutput String
|
||||||
}
|
}
|
||||||
|
|
||||||
model TestcaseData {
|
model TestcaseData {
|
||||||
|
Loading…
Reference in New Issue
Block a user