mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
feat(prisma): add solution field to Problem model
This commit is contained in:
@@ -32,6 +32,7 @@ model Problem {
|
|||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
title String
|
title String
|
||||||
description String
|
description String
|
||||||
|
solution String
|
||||||
difficulty Difficulty @default(EASY)
|
difficulty Difficulty @default(EASY)
|
||||||
published Boolean @default(false)
|
published Boolean @default(false)
|
||||||
authorId Int
|
authorId Int
|
||||||
|
|||||||
Reference in New Issue
Block a user