mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
feat(prisma): move timeLimit and memoryLimit from DockerConfig to Problem model
This commit is contained in:
parent
84ebd17be9
commit
feee3a2580
@ -56,6 +56,9 @@ model Problem {
|
||||
templates Template[]
|
||||
testcases Testcase[]
|
||||
|
||||
timeLimit Int @default(1000)
|
||||
memoryLimit Int @default(128)
|
||||
|
||||
@@index([userId])
|
||||
@@index([difficulty])
|
||||
}
|
||||
@ -93,8 +96,6 @@ model DockerConfig {
|
||||
image String
|
||||
tag String
|
||||
workingDir String
|
||||
timeLimit Int
|
||||
memoryLimit Int
|
||||
compileOutputLimit Int
|
||||
runOutputLimit Int
|
||||
editorLanguageConfig EditorLanguageConfig @relation(fields: [language], references: [language])
|
||||
|
Loading…
Reference in New Issue
Block a user