mirror of
https://github.com/Fayorg/calendrier-avant.git
synced 2026-05-27 17:18:38 +02:00
add: canVote field in db
This commit is contained in:
@@ -24,6 +24,7 @@ model Test {
|
||||
id Int @id @default(autoincrement())
|
||||
testOfId Int @unique
|
||||
testOn DateTime @db.Date
|
||||
canVote Boolean @default(false)
|
||||
createdAt DateTime @default(now())
|
||||
testOf Users @relation(fields: [testOfId], references: [id])
|
||||
grades Grade[]
|
||||
|
||||
Reference in New Issue
Block a user