1
0
mirror of https://github.com/Fayorg/calendrier-avant.git synced 2026-05-28 01:28:37 +02:00

fix: note on Grade optional

This commit is contained in:
2023-12-04 14:02:36 +01:00
parent 5e35c23cfb
commit dc6a4504c1

View File

@@ -32,6 +32,7 @@ model Grade {
id Int @id @default(autoincrement()) id Int @id @default(autoincrement())
user Users @relation(fields: [userId], references: [id]) user Users @relation(fields: [userId], references: [id])
userId Int userId Int
note String grade Float
note String?
createdAt DateTime @default(now()) createdAt DateTime @default(now())
} }