Update User to include specialism. The model will look like this:
´´´´
model User {
id Int @id @default(autoincrement())
email String @unique
password String
role Role @default(STUDENT)
specialism String @default("")
cohortId Int?
cohorts Cohort[]
posts Post[]
comments Comment[]
deliveryLogs DeliveryLog[]
}
Update User to include specialism. The model will look like this:
´´´´ model User { id Int @id @default(autoincrement()) email String @unique password String role Role @default(STUDENT) specialism String @default("") cohortId Int? cohorts Cohort[] posts Post[] comments Comment[] deliveryLogs DeliveryLog[] }
´´´