mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
refactor(prisma): rename content
field to description
in Problem model
This commit is contained in:
parent
bddbc03f3a
commit
bf6b5567b7
@ -29,11 +29,11 @@ enum Difficulty {
|
||||
}
|
||||
|
||||
model Problem {
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
content String
|
||||
difficulty Difficulty @default(EASY)
|
||||
published Boolean @default(false)
|
||||
authorId Int
|
||||
author User @relation(fields: [authorId], references: [id])
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
description String
|
||||
difficulty Difficulty @default(EASY)
|
||||
published Boolean @default(false)
|
||||
authorId Int
|
||||
author User @relation(fields: [authorId], references: [id])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user