1
0
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:
2023-12-20 15:16:23 +01:00
parent 25062abaf0
commit 01e87a75d6

View File

@@ -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[]